fix(labels): format adding new labels in service plan with + modifier

This commit is contained in:
Pasha Sviderski
2026-11-03 18:46:45 +10:00
parent 7b48ac5a4d
commit 78facdfcc6
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -332,6 +332,8 @@ func formatLabelsDiff(attribute string, oldLabels, newLabels map[string]string,
switch {
case isNewService:
blockMod = " "
case len(oldLabels) == 0:
blockMod = tui.Green.Render("+")
case len(newLabels) == 0:
blockMod = tui.Red.Render("-")
}