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

nicer solution for checking the action

This commit is contained in:
Hendrik Hofstadt 2015-02-09 20:06:28 +01:00
parent dabb1926a5
commit 8abb445bd4
2 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ function($scope, Container, Settings, Messages, ViewSpinner) {
};
angular.forEach(items, function(c) {
if (c.Checked) {
if(msg === "Started"){
if(action === Container.start){
Container.get({id: c.Id}, function(d) {
c = d;
counter = counter + 1;