mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29: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
|
@ -96,11 +96,20 @@ var ContainerController = (function (_super) {
|
|||
$scope.remove = function () {
|
||||
return _this.remove($scope, $routeParams, Container);
|
||||
};
|
||||
$scope.changes = [];
|
||||
$scope.getChanges = function () {
|
||||
Container.changes({
|
||||
id: $routeParams.id
|
||||
}, function (d) {
|
||||
$scope.changes = d;
|
||||
});
|
||||
};
|
||||
Container.get({
|
||||
id: $routeParams.id
|
||||
}, function (d) {
|
||||
$scope.container = d;
|
||||
});
|
||||
$scope.getChanges();
|
||||
}
|
||||
return ContainerController;
|
||||
})(ContainerControllerBase);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue