Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DanilShapilov committed Apr 1, 2024
1 parent f36a93b commit 0665076
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
5 changes: 4 additions & 1 deletion resources/frontend/core/components/TeamAvatars.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
16 changes: 8 additions & 8 deletions resources/frontend/core/views/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
4 changes: 2 additions & 2 deletions resources/frontend/core/views/Crud/EditView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
typeof field.rules === 'string'
? field.rules
: field.required
? 'required'
: ''
? 'required'
: ''
"
:name="$t(field.label)"
:vid="field.key"
Expand Down
8 changes: 4 additions & 4 deletions resources/frontend/core/views/DesktopLogin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}}
</at-button>
</div>
Expand Down

0 comments on commit 0665076

Please sign in to comment.