mirror of https://github.com/portainer/portainer
15 lines
402 B
JavaScript
15 lines
402 B
JavaScript
angular.module('portainer.docker').controller('BrowseVolumeController', [
|
|
'$scope',
|
|
'$transition$',
|
|
'StateManager',
|
|
function ($scope, $transition$, StateManager) {
|
|
function initView() {
|
|
$scope.volumeId = $transition$.params().id;
|
|
$scope.nodeName = $transition$.params().nodeName;
|
|
$scope.agentApiVersion = StateManager.getAgentApiVersion();
|
|
}
|
|
|
|
initView();
|
|
},
|
|
]);
|