You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/docker/views/volumes/browse/browseVolumeController.js

14 lines
442 B

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();
}