mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 12:25:22 +02:00
refactor(ux): rename deploymentInProgress variable (#1385)
This commit is contained in:
parent
d68708add7
commit
efc3154617
40 changed files with 130 additions and 130 deletions
|
@ -7,7 +7,7 @@ function ($scope, $q, $state, $transition$, $anchorScroll, $filter, ContainerSer
|
|||
hideDescriptions: $transition$.params().hide_descriptions,
|
||||
formValidationError: '',
|
||||
showDeploymentSelector: false,
|
||||
deploymentInProgress: false,
|
||||
actionInProgress: false,
|
||||
filters: {
|
||||
Categories: '!',
|
||||
Platform: '!',
|
||||
|
@ -86,7 +86,7 @@ function ($scope, $q, $state, $transition$, $anchorScroll, $filter, ContainerSer
|
|||
Notifications.error('Failure', err, err.msg);
|
||||
})
|
||||
.finally(function final() {
|
||||
$scope.state.deploymentInProgress = false;
|
||||
$scope.state.actionInProgress = false;
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -114,7 +114,7 @@ function ($scope, $q, $state, $transition$, $anchorScroll, $filter, ContainerSer
|
|||
$state.go('stacks', {}, {reload: true});
|
||||
})
|
||||
.finally(function final() {
|
||||
$scope.state.deploymentInProgress = false;
|
||||
$scope.state.actionInProgress = false;
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -131,7 +131,7 @@ function ($scope, $q, $state, $transition$, $anchorScroll, $filter, ContainerSer
|
|||
var template = $scope.state.selectedTemplate;
|
||||
var templatesKey = $scope.templatesKey;
|
||||
|
||||
$scope.state.deploymentInProgress = true;
|
||||
$scope.state.actionInProgress = true;
|
||||
if (template.Type === 'stack') {
|
||||
createStackFromTemplate(template, userId, accessControlData);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue