pending_configure is dead

This commit is contained in:
Girish Ramakrishnan
2019-09-19 17:36:31 -07:00
parent c4677505ac
commit 6ffa00026e
2 changed files with 6 additions and 6 deletions

View File

@@ -232,10 +232,10 @@ app.controller('TerminalController', ['$scope', '$timeout', '$location', 'Client
var result = $scope.selectedAppInfo;
// we expect this to be called _after_ a reconfigure was issued
if (result.installationState === 'pending_configure') {
$scope.appBusy = true;
} else if (result.installationState === 'installed') {
if (result.installationState === 'installed') {
$scope.appBusy = false;
} else if (result.installationState !== 'error') {
$scope.appBusy = true;
}
$scope.schedulerTasks = result.manifest.addons.scheduler ? Object.keys(result.manifest.addons.scheduler).map(function (k) { return { name: k, command: result.manifest.addons.scheduler[k].command }; }) : [];