From da17ae90a045b74ee12037bd03a76cb554fa1b90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20K=C3=BCnzi?= Date: Fri, 15 Nov 2024 13:57:58 +0100 Subject: [PATCH] small PR changes --- src/utils/components/ErrorWindow.vue | 6 ++---- src/utils/components/WarningWindow.vue | 7 +++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/utils/components/ErrorWindow.vue b/src/utils/components/ErrorWindow.vue index c358fc37c..e1acc3392 100644 --- a/src/utils/components/ErrorWindow.vue +++ b/src/utils/components/ErrorWindow.vue @@ -24,9 +24,7 @@ const store = useStore() const showBody = ref(true) const hasDevSiteWarning = computed(() => store.getters.hasDevSiteWarning) -const errorCount = computed(() => - store.state.ui.errors.size > 1 ? `(${store.state.ui.errors.size})` : '' -) +const errorCount = computed(() => store.state.ui.errors.size) const i18n = useI18n() @@ -45,7 +43,7 @@ const emit = defineEmits(['close']) data-cy="window-header" > {{ i18n.t(title) }}{{ errorCount }}{{ i18n.t(title) }} ({{ errorCount }})