File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -218,9 +218,10 @@ export const Workspace: FC<React.PropsWithChildren<WorkspaceProps>> = ({
218
218
< AlertTitle > Workspace build is pending</ AlertTitle >
219
219
< AlertDetail >
220
220
< div className = { styles . alertPendingInQueue } >
221
- This build job is waiting for a provisioner to become
222
- available. If you have been waiting for an extended period,
223
- contact your administrator for assistance.
221
+ This workspace build job is waiting for a provisioner to
222
+ become available. If you have been waiting for an extended
223
+ period of time, please contact your administrator for
224
+ assistance.
224
225
</ div >
225
226
< div >
226
227
Position in queue:{ " " }
Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ export const WorkspaceStatusText: FC<
43
43
workspace . latest_build . status ,
44
44
)
45
45
46
- workspace . latest_build . job . queue_size
47
-
48
46
return (
49
47
< ChooseOne >
50
48
{ /* <ImpendingDeletionText/> determines its own visibility */ }
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ const getPendingWorkspaceStatusText = (
272
272
) : string => {
273
273
const { t } = i18next
274
274
275
- if ( provisionerJob === undefined || provisionerJob . queue_size === 0 ) {
275
+ if ( ! provisionerJob || provisionerJob . queue_size === 0 ) {
276
276
return t ( "workspaceStatus.pending" , { ns : "common" } )
277
277
}
278
278
return "Position in queue: " + provisionerJob . queue_position
You can’t perform that action at this time.
0 commit comments