From 20a9b0435de5f0ac8aa096cf177c150b09b6882c Mon Sep 17 00:00:00 2001 From: Yaacov Date: Fri, 15 Nov 2024 17:24:48 +0100 Subject: [PATCH] Fix duplicate ids in errors and improvements tabs --- .../src/components/report/ReportCriteria.vue | 19 ++++++++++++------- .../src/components/report/ReportErrors.vue | 5 +++-- .../components/report/ReportImprovements.vue | 8 ++++++-- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/confiture-web-app/src/components/report/ReportCriteria.vue b/confiture-web-app/src/components/report/ReportCriteria.vue index 74ba0371..e68103af 100644 --- a/confiture-web-app/src/components/report/ReportCriteria.vue +++ b/confiture-web-app/src/components/report/ReportCriteria.vue @@ -9,6 +9,7 @@ import { ReportImprovement } from "./getReportImprovements"; defineProps<{ count: number; pagesData: ReportError[] | ReportImprovement[]; + tabSlug: string; transverseData: ReportError | ReportImprovement; showFilters?: boolean; topNotice?: string; @@ -36,12 +37,12 @@ const hasFilters = computed(() => { -
+
Pages
  • { > {{ page.name }} diff --git a/confiture-web-app/src/components/report/ReportErrors.vue b/confiture-web-app/src/components/report/ReportErrors.vue index a02a250e..937afbb3 100644 --- a/confiture-web-app/src/components/report/ReportErrors.vue +++ b/confiture-web-app/src/components/report/ReportErrors.vue @@ -100,6 +100,7 @@ function resetFilters() { :pages-data="pagesErrors" :transverse-data="transverseErrors" :show-filters="true" + tab-slug="errors" >