mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
13 lines
442 B
JavaScript
13 lines
442 B
JavaScript
angular.module('portainer.docker').controller('BrowseVolumeController', BrowseVolumeController);
|
|
|
|
/* @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();
|
|
}
|