From 92792c883a5dedaafe36378965bb590f804d3d0c Mon Sep 17 00:00:00 2001 From: benji-bitfly <174338202+benji-bitfly@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:56:22 +0100 Subject: [PATCH 1/2] refactor(DashboardValidatorSubsetList): `rename` component --- frontend/.vscode/settings.json | 1 + ...{ValidatorSubsetList.vue => DashboardValidatorSubsetList.vue} | 0 2 files changed, 1 insertion(+) rename frontend/components/dashboard/validator/subset/{ValidatorSubsetList.vue => DashboardValidatorSubsetList.vue} (100%) diff --git a/frontend/.vscode/settings.json b/frontend/.vscode/settings.json index 0a5e6aa2f..fe7cc94c9 100644 --- a/frontend/.vscode/settings.json +++ b/frontend/.vscode/settings.json @@ -12,6 +12,7 @@ "DashboardTableSummaryDetails", "DashboardTableValidators", "DashboardValidatorManagmentModal", + "DashboardValidatorSubsetList", "NotificationMachinesTable", "NotificationsClientsTable", "NotificationsDashboardDialogEntity", diff --git a/frontend/components/dashboard/validator/subset/ValidatorSubsetList.vue b/frontend/components/dashboard/validator/subset/DashboardValidatorSubsetList.vue similarity index 100% rename from frontend/components/dashboard/validator/subset/ValidatorSubsetList.vue rename to frontend/components/dashboard/validator/subset/DashboardValidatorSubsetList.vue From 888ad1e5a444eb1128fd1afef4bd16875eafd4d6 Mon Sep 17 00:00:00 2001 From: benji-bitfly <174338202+benji-bitfly@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:46:11 +0100 Subject: [PATCH 2/2] fix(DashboardValidatorSubsetList): return empty array for 'pending' category See: BEDS-839 --- .../validator/subset/DashboardValidatorSubsetList.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/components/dashboard/validator/subset/DashboardValidatorSubsetList.vue b/frontend/components/dashboard/validator/subset/DashboardValidatorSubsetList.vue index 2b0ed20e6..d39ea6dfc 100644 --- a/frontend/components/dashboard/validator/subset/DashboardValidatorSubsetList.vue +++ b/frontend/components/dashboard/validator/subset/DashboardValidatorSubsetList.vue @@ -90,6 +90,9 @@ function mapDutyLinks( if (!dutyObjects) { return [] } + if (props.category === 'pending') { + return [] + } let path = '' let formatValue = true switch (props.category) {