From 59f72cb592272d0227f0b4935191738be62e4526 Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Mon, 2 Oct 2023 10:14:25 +0200 Subject: [PATCH] fix(ui): missing `Heal` references in control panel Ref: #3316 --- src/components/nodes-table/SmartView.vue | 10 ++++++---- src/components/nodes-table/index.vue | 9 ++++++--- src/components/nodes-table/nodes-table.js | 7 +++++-- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/components/nodes-table/SmartView.vue b/src/components/nodes-table/SmartView.vue index 6592a09fd8d..cf99f130b24 100644 --- a/src/components/nodes-table/SmartView.vue +++ b/src/components/nodes-table/SmartView.vue @@ -101,7 +101,9 @@ /> @@ -219,10 +220,12 @@ v-on="on" class="ml-3" v-text=" - getHealIcon(item.rebuildRoutesProgress).icon + getRebuildRoutesIcon(item.rebuildRoutesProgress) + .icon " :color=" - getHealIcon(item.rebuildRoutesProgress).color + getRebuildRoutesIcon(item.rebuildRoutesProgress) + .color " > diff --git a/src/components/nodes-table/nodes-table.js b/src/components/nodes-table/nodes-table.js index fa0922a8e5c..aa5a5386103 100644 --- a/src/components/nodes-table/nodes-table.js +++ b/src/components/nodes-table/nodes-table.js @@ -189,7 +189,10 @@ export default { return v }, }, - rebuildRoutesProgress: { type: 'string', label: 'Heal' }, + rebuildRoutesProgress: { + type: 'string', + label: 'Rebuild routes', + }, interviewStage: { type: 'string', label: 'Interview' }, lastActive: { type: 'date', @@ -216,7 +219,7 @@ export default { ? this.expanded.filter((i) => i !== item) : [...this.expanded, item] }, - getHealIcon(status) { + getRebuildRoutesIcon(status) { switch (status) { case 'done': return { icon: 'done', color: 'green' }