mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 14:59:41 +02:00
VolumesFrom support container names
This commit is contained in:
parent
f4ef63b8f8
commit
017863bfc0
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ angular.module('containersNetwork', ['ngVis'])
|
|||
};
|
||||
|
||||
this.addVolumeEdgeIfExists = function(from, to) {
|
||||
if (from.VolumesFrom != null && from.VolumesFrom[to.Id] != null) {
|
||||
if (from.VolumesFrom != null && (from.VolumesFrom[to.Id] != null || from.VolumesFrom[to.Name] != null)) {
|
||||
this.edges.add({
|
||||
from: from.Id,
|
||||
to: to.Id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue