mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fixes AI Control Console using placeholder AI name when downloading (#13465)
* Update AiControlPanel.js * Update tgui/packages/tgui/interfaces/AiControlPanel.js
This commit is contained in:
@@ -107,7 +107,7 @@ export const AiControlPanel = (props, context) => {
|
|||||||
)}>
|
)}>
|
||||||
{data.downloading && (
|
{data.downloading && (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<NoticeBox mb={0.1} danger>Currently downloading G2</NoticeBox>
|
<NoticeBox mb={0.1} danger>Currently downloading {data.downloading}</NoticeBox>
|
||||||
<ProgressBar color="bad" minValue="0" value={data.download_progress} maxValue="100" />
|
<ProgressBar color="bad" minValue="0" value={data.download_progress} maxValue="100" />
|
||||||
<Button mt={0.5} fluid color="bad" icon="stop" tooltip="WARNING" textAlign="center" onClick={() => act("stop_download")}>Cancel Download</Button>
|
<Button mt={0.5} fluid color="bad" icon="stop" tooltip="WARNING" textAlign="center" onClick={() => act("stop_download")}>Cancel Download</Button>
|
||||||
{!!data.current_ai_ref && data.current_ai_ref === data.downloading_ref && (
|
{!!data.current_ai_ref && data.current_ai_ref === data.downloading_ref && (
|
||||||
|
|||||||
Reference in New Issue
Block a user