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:
parent
dabb1926a5
commit
8abb445bd4
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue