From 67e7d3f2abd5583abe5d34b1d47250d7b7c6adad Mon Sep 17 00:00:00 2001
From: Maiykol <hartung.michael@outlook.com>
Date: Wed, 23 Jun 2021 15:42:23 +0200
Subject: [PATCH] add group name changes to legend; the previous change should
 also remove old nodeGroups and old edgeGroups on config changes from the
 legend

---
 .../components/network-legend/network-legend.component.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/app/components/network-legend/network-legend.component.html b/src/app/components/network-legend/network-legend.component.html
index 6a394eec..8f53ebdc 100644
--- a/src/app/components/network-legend/network-legend.component.html
+++ b/src/app/components/network-legend/network-legend.component.html
@@ -10,7 +10,7 @@
           <td>
             <img [src]="nodeGroup.value.image" class="legend-icon"/>
           </td>
-          <td>&nbsp;{{ nodeGroup.value.name }}</td>
+          <td>&nbsp;{{ nodeGroup.value.groupName }}</td>
         </ng-container>
 
         <ng-container *ngIf="!nodeGroup.value.image">
@@ -30,7 +30,7 @@
             >
             </span>
           </td>
-          <td>&nbsp;{{ nodeGroup.value.name }}</td>
+          <td>&nbsp;{{ nodeGroup.value.groupName }}</td>
         </ng-container>
 
       </tr>
@@ -41,7 +41,7 @@
         <td>
           <hr class="edge" [style.background-color]=edgeGroup.value.color>
         </td>
-        <td>&nbsp;{{ edgeGroup.value.name }}</td>
+        <td>&nbsp;{{ edgeGroup.value.groupName }}</td>
       </tr>
     </ng-container>
   </table>
-- 
GitLab