File tree 1 file changed +5
-5
lines changed
site/src/pages/WorkspacePage
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,8 @@ export const Workspace: FC<React.PropsWithChildren<WorkspaceProps>> = ({
173
173
174
174
const updateRequired =
175
175
( workspace . template_require_active_version ||
176
- workspace . automatic_updates === "always" ) && workspace . outdated ;
176
+ workspace . automatic_updates === "always" ) &&
177
+ workspace . outdated ;
177
178
const autoStartFailing = workspace . autostart_schedule && ! canAutostart ;
178
179
const requiresManualUpdate = updateRequired && autoStartFailing ;
179
180
@@ -229,7 +230,7 @@ export const Workspace: FC<React.PropsWithChildren<WorkspaceProps>> = ({
229
230
230
231
< Margins css = { styles . content } >
231
232
< Stack direction = "column" css = { styles . firstColumnSpacer } spacing = { 4 } >
232
- { ! showAutostartBanner && workspace . outdated && (
233
+ { requiresManualUpdate && workspace . outdated && (
233
234
< Alert severity = "info" >
234
235
< AlertTitle > An update is available for your workspace</ AlertTitle >
235
236
{ updateMessage && < AlertDetail > { updateMessage } </ AlertDetail > }
@@ -241,9 +242,8 @@ export const Workspace: FC<React.PropsWithChildren<WorkspaceProps>> = ({
241
242
Autostart has been disabled for your workspace.
242
243
</ AlertTitle >
243
244
< AlertDetail >
244
- A parameter mismatch has been detected between your workspace
245
- and the active template version. Manually update your workspace
246
- to reenable Autostart.
245
+ Autostart is unable to automatically update your workspace.
246
+ Manually update your workspace to reenable Autostart.
247
247
</ AlertDetail >
248
248
</ Alert >
249
249
) }
You can’t perform that action at this time.
0 commit comments