mirror of https://github.com/portainer/portainer
fix(containers): Fix available buttons for created container (#1065)
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…
Reference in New Issue