2021-12-14 07:34:54 +00:00
|
|
|
angular.module('portainer.docker').controller('BrowseVolumeController', BrowseVolumeController);
|
2018-07-23 05:01:03 +00:00
|
|
|
|
2021-12-14 07:34:54 +00:00
|
|
|
/* @ngInject */
|
|
|
|
function BrowseVolumeController($scope, $transition$, StateManager, endpoint) {
|
|
|
|
function initView() {
|
|
|
|
$scope.volumeId = $transition$.params().id;
|
|
|
|
$scope.nodeName = $transition$.params().nodeName;
|
|
|
|
$scope.agentApiVersion = StateManager.getAgentApiVersion();
|
|
|
|
$scope.endpointId = endpoint.Id;
|
|
|
|
}
|
|
|
|
|
|
|
|
initView();
|
|
|
|
}
|