1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-21 22:39:41 +02:00

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

This commit is contained in:
Konstantin Azizov 2017-07-24 17:39:04 +03:00 committed by Anthony Lapenna
parent 387b4c66d9
commit aca4f5c286

View file

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