Skip to content

Commit

Permalink
Fixing typo for cancel cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlaura committed Apr 20, 2016
1 parent 1499d1b commit db3aa9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/generic_ui/scripts/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,13 +308,13 @@ export class UserInterface implements ui_constants.UiApi {

core.onUpdate(uproxy_core_api.Update.CLOUD_INSTALL_STATUS, (status: string) => {
this.cloudInstallStatus = this.i18n_t(status);
// Don't allow user to cancel during last stage of cloud install
// because user may have already accepted cloud invitation
this.cloudInstallCancelDisabled = (status === 'CLOUD_INSTALL_STATUS_CONFIGURING_SSH') ? true : false;
});

core.onUpdate(uproxy_core_api.Update.CLOUD_INSTALL_PROGRESS, (progress: number) => {
this.cloudInstallProgress = progress;
// Don't allow user to cancel during last stage of cloud install
// because user may have already accepted cloud invitation
this.cloudInstallCancelDisabled = (status === 'CLOUD_INSTALL_STATUS_CONFIGURING_SSH') ? true : false;
});

browserApi.on('copyPasteUrlData', this.handleCopyPasteUrlData);
Expand Down

0 comments on commit db3aa9c

Please sign in to comment.