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:
parent
6853a9cefa
commit
353751ea4e
5 changed files with 41 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue