Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ayZagen committed May 7, 2024
1 parent cc884f2 commit 141b83b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/ui/utils/props_factory.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Types
// eslint-disable-next-line vue/prefer-import-from-vue
import type { IfAny } from '@vue/shared'
import type { ComponentObjectPropsOptions, Prop, PropType } from 'vue'

Expand Down
1 change: 1 addition & 0 deletions src/ui/views/mfa/Push.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ export default defineComponent({
}
watch([isRegistration, manualMode], async ([newValue, manual]) => {
// eslint-disable-next-line vue/valid-next-tick
await nextTick(async () => {
if (!newValue && !manual) {
loading.value = true;
Expand Down
3 changes: 2 additions & 1 deletion src/ui/views/passwordless/Push.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<WidgetLayout
:logo="false"
:title="isRegistration ? 'passwordless.push.enrollTitle'
:title="isRegistration ? 'passwordless.push.enrollTitle'
: manualMode ? 'mfa.otp.title' : 'passwordless.push.title'"
:subtitle="isRegistration ? 'passwordless.push.enrollDescription'
: manualMode ? ''
Expand Down Expand Up @@ -167,6 +167,7 @@ export default defineComponent({
}
watch([isRegistration, manualMode], async ([newValue, manual]) => {
// eslint-disable-next-line vue/valid-next-tick
await nextTick(async () => {
if(!newValue && !manual){
loading.value = true;
Expand Down

0 comments on commit 141b83b

Please sign in to comment.