From 0665076afff73ed43d7d44978e58d2f901e31a38 Mon Sep 17 00:00:00 2001 From: Danil Shapilov Date: Mon, 1 Apr 2024 20:03:39 +0500 Subject: [PATCH] fix: formatting --- .../frontend/core/components/TeamAvatars.vue | 5 ++++- resources/frontend/core/views/About.vue | 16 ++++++++-------- resources/frontend/core/views/Crud/EditView.vue | 4 ++-- resources/frontend/core/views/DesktopLogin.vue | 8 ++++---- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/resources/frontend/core/components/TeamAvatars.vue b/resources/frontend/core/components/TeamAvatars.vue index 1b995a79a..0cde68613 100644 --- a/resources/frontend/core/components/TeamAvatars.vue +++ b/resources/frontend/core/components/TeamAvatars.vue @@ -57,7 +57,10 @@ width: 30px; height: 30px; border-radius: 5px; - font: 12px / 30px Helvetica, Arial, sans-serif; + font: + 12px / 30px Helvetica, + Arial, + sans-serif; align-items: center; justify-content: center; text-align: center; diff --git a/resources/frontend/core/views/About.vue b/resources/frontend/core/views/About.vue index 46df44561..7b2370e1b 100644 --- a/resources/frontend/core/views/About.vue +++ b/resources/frontend/core/views/About.vue @@ -135,19 +135,19 @@ ? semverGt(params.item.version, params.item.lastVersion) ? params.item.flashMessage : params.item.version === params.item.lastVersion - ? this.$i18n.t('about.modules.ok') - : params.item.vulnerable - ? this.$i18n.t('about.modules.vulnerable') - : this.$i18n.t('about.modules.outdated') + ? this.$i18n.t('about.modules.ok') + : params.item.vulnerable + ? this.$i18n.t('about.modules.vulnerable') + : this.$i18n.t('about.modules.outdated') : this.$i18n.t('about.modules.ok'), type: Object.prototype.hasOwnProperty.call(params.item, 'lastVersion') ? semverGt(params.item.version, params.item.lastVersion) ? 'info' : params.item.version === params.item.lastVersion - ? 'success' - : params.item.vulnerable - ? 'error' - : 'warning' + ? 'success' + : params.item.vulnerable + ? 'error' + : 'warning' : 'info', }, style: { diff --git a/resources/frontend/core/views/Crud/EditView.vue b/resources/frontend/core/views/Crud/EditView.vue index c7dcfa6a2..5794bfeee 100644 --- a/resources/frontend/core/views/Crud/EditView.vue +++ b/resources/frontend/core/views/Crud/EditView.vue @@ -68,8 +68,8 @@ typeof field.rules === 'string' ? field.rules : field.required - ? 'required' - : '' + ? 'required' + : '' " :name="$t(field.label)" :vid="field.key" diff --git a/resources/frontend/core/views/DesktopLogin.vue b/resources/frontend/core/views/DesktopLogin.vue index 4d0b8c24b..f1b2d9de8 100644 --- a/resources/frontend/core/views/DesktopLogin.vue +++ b/resources/frontend/core/views/DesktopLogin.vue @@ -41,10 +41,10 @@ transferStatus === 'error' || openStatus === 'error' ? $t('auth.desktop.retry') : transferStatus === 'finish' && openStatus !== 'finish' - ? $t('auth.desktop.open') - : transferStatus === 'finish' && openStatus === 'finish' - ? $t('auth.desktop.finish') - : $t('auth.desktop.cancel') + ? $t('auth.desktop.open') + : transferStatus === 'finish' && openStatus === 'finish' + ? $t('auth.desktop.finish') + : $t('auth.desktop.cancel') }}