File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -308,13 +308,13 @@ export class UserInterface implements ui_constants.UiApi {
308308
309309 core . onUpdate ( uproxy_core_api . Update . CLOUD_INSTALL_STATUS , ( status : string ) => {
310310 this . cloudInstallStatus = this . i18n_t ( status ) ;
311+ // Don't allow user to cancel during last stage of cloud install
312+ // because user may have already accepted cloud invitation
313+ this . cloudInstallCancelDisabled = ( status === 'CLOUD_INSTALL_STATUS_CONFIGURING_SSH' ) ? true : false ;
311314 } ) ;
312315
313316 core . onUpdate ( uproxy_core_api . Update . CLOUD_INSTALL_PROGRESS , ( progress : number ) => {
314317 this . cloudInstallProgress = progress ;
315- // Don't allow user to cancel during last stage of cloud install
316- // because user may have already accepted cloud invitation
317- this . cloudInstallCancelDisabled = ( status === 'CLOUD_INSTALL_STATUS_CONFIGURING_SSH' ) ? true : false ;
318318 } ) ;
319319
320320 browserApi . on ( 'copyPasteUrlData' , this . handleCopyPasteUrlData ) ;
You can’t perform that action at this time.
0 commit comments