From 19209d6198677648d9296a7930d97946c8e8e9d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kry=C5=A1tof=20Korb?= Date: Wed, 31 Jan 2024 11:59:31 +0100 Subject: [PATCH] Run `npm run lint:fix` --- .../containers/ElectionCardComponent.vue | 10 +++++----- .../src/routes/comparison/ComparisonGrid.vue | 2 +- frontend/src/routes/profile/AuthPageVue.vue | 2 +- .../src/routes/profile/EmailAuthPageVue.vue | 4 ++-- .../src/routes/profile/EmailFormPageVue.vue | 18 +++++++++--------- frontend/src/routes/profile/ProfilePage.vue | 5 +---- .../src/routes/profile/ProfileSettingsPage.vue | 14 +++++++------- .../src/routes/result/ResultCandidateCard.vue | 2 +- 8 files changed, 27 insertions(+), 30 deletions(-) diff --git a/frontend/src/components/design-system/containers/ElectionCardComponent.vue b/frontend/src/components/design-system/containers/ElectionCardComponent.vue index 8ba941c86..eaded104c 100644 --- a/frontend/src/components/design-system/containers/ElectionCardComponent.vue +++ b/frontend/src/components/design-system/containers/ElectionCardComponent.vue @@ -135,7 +135,7 @@ const getReducedCandidates = () => { {{ electionName }} - + {{ getDurationDate(electionDateFrom, electionDateTo) }} @@ -151,8 +151,8 @@ const getReducedCandidates = () => { class="full-width" > @@ -313,7 +313,7 @@ const getReducedCandidates = () => { padding="medium" border corner="bottom-left" - borderRadius="medium" + border-radius="medium" class="full-width" > diff --git a/frontend/src/routes/comparison/ComparisonGrid.vue b/frontend/src/routes/comparison/ComparisonGrid.vue index e12f6dc07..d205a4049 100644 --- a/frontend/src/routes/comparison/ComparisonGrid.vue +++ b/frontend/src/routes/comparison/ComparisonGrid.vue @@ -317,7 +317,7 @@ export interface Source { answer.candidate_id === candidateId && answer.question_id === question.id, )[0]?.sources as Source[]" - v-bind:key="source.url" + :key="source.url" >
  • {{ diff --git a/frontend/src/routes/profile/AuthPageVue.vue b/frontend/src/routes/profile/AuthPageVue.vue index 87d21cf97..b8a7530a6 100644 --- a/frontend/src/routes/profile/AuthPageVue.vue +++ b/frontend/src/routes/profile/AuthPageVue.vue @@ -111,7 +111,7 @@ const { t } = useI18n(); $t('routes.profile.AuthPageVue.log-in') }} - + {{ $t('routes.profile.AuthPageVue.opinion') }} diff --git a/frontend/src/routes/profile/EmailAuthPageVue.vue b/frontend/src/routes/profile/EmailAuthPageVue.vue index 2187163f1..ac20513cf 100644 --- a/frontend/src/routes/profile/EmailAuthPageVue.vue +++ b/frontend/src/routes/profile/EmailAuthPageVue.vue @@ -130,12 +130,12 @@ const handleSubmit = async () => { > @@ -143,8 +143,8 @@ const handleSubmit = async () => { {{ $t('routes.profile.EmailAuthPageVue.confirmation') }} - + - + {{ texts[step][type].title }} @@ -176,31 +176,31 @@ const handleSubmit = async () => { - + {{ $t('routes.profile.EmailFormPageVue.notification') }} - + {{ texts[step][type].info }} {{ emailAddress }} - + {{ texts[step][type].info }} - + {{ $t('routes.profile.EmailFormPageVue.about-spam') }} - + { {{ $t('routes.profile.EmailFormPageVue.send-confirm') }}