mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(volume): unable to inspect and browse volume [BE-11216] (#186)
This commit is contained in:
parent
bb6815f681
commit
cb949e443e
3 changed files with 5 additions and 3 deletions
|
@ -14,7 +14,7 @@
|
|||
<button
|
||||
ng-if="showBrowseAction"
|
||||
class="btn btn-xs btn-primary"
|
||||
ui-sref="docker.volumes.volume.browse({ id: volume.Id, nodeName: volume.NodeName })"
|
||||
ui-sref="docker.volumes.volume.browse({ id: volume.Name, nodeName: volume.NodeName })"
|
||||
authorization="DockerAgentBrowseList"
|
||||
>
|
||||
<pr-icon icon="'search'" class="leading-none"></pr-icon>
|
||||
|
|
|
@ -58,6 +58,8 @@ angular.module('portainer.docker').controller('VolumeController', [
|
|||
|
||||
var containers = dataContainers.map(function (container) {
|
||||
container.volumeData = getVolumeDataFromContainer(container, $scope.volume.Id);
|
||||
|
||||
$scope.volume.NodeName = container.NodeName || '';
|
||||
return container;
|
||||
});
|
||||
$scope.containersUsingVolume = containers;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue