portainer/app/docker/views/volumes/browse/browseVolumeController.js

12 lines
285 B
JavaScript

angular.module('portainer.docker')
.controller('BrowseVolumeController', ['$scope', '$transition$',
function ($scope, $transition$) {
function initView() {
$scope.volumeId = $transition$.params().id;
$scope.nodeName = $transition$.params().nodeName;
}
initView();
}]);