1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-30 18:59:41 +02:00

Add changes to container display

This commit is contained in:
Michael Crosby 2013-06-08 15:50:42 -09:00
parent 6853a9cefa
commit 353751ea4e
5 changed files with 41 additions and 4 deletions

View file

@ -87,10 +87,19 @@ class ContainerController extends ContainerControllerBase {
$scope.start = () => this.start($scope, $routeParams, Container);
$scope.stop = () => this.stop($scope, $routeParams, Container);
$scope.remove = () => this.remove($scope, $routeParams, Container);
$scope.changes = [];
$scope.getChanges = () => {
Container.changes({id: $routeParams.id}, (d) => {
$scope.changes = d;
});
};
Container.get({id: $routeParams.id}, (d) => {
$scope.container = d;
});
$scope.getChanges();
}
}