fix(containers): Fix available buttons for created container (#1065)

pull/1044/head
Konstantin Azizov 7 years ago committed by Anthony Lapenna
parent 387b4c66d9
commit aca4f5c286

@ -205,7 +205,8 @@ angular.module('containers', [])
if(container.Status === 'paused') { if(container.Status === 'paused') {
$scope.state.noPausedItemsSelected = false; $scope.state.noPausedItemsSelected = false;
} else if(container.Status === 'stopped') { } else if(container.Status === 'stopped' ||
container.Status === 'created') {
$scope.state.noStoppedItemsSelected = false; $scope.state.noStoppedItemsSelected = false;
} else if(container.Status === 'running') { } else if(container.Status === 'running') {
$scope.state.noRunningItemsSelected = false; $scope.state.noRunningItemsSelected = false;

Loading…
Cancel
Save