fix: vue/no-boolean-default NoAuthWrapper
I'm still unsure if we should keep this rule in general, in this specific case I think it makes sense to reverse the logic and enable this api config explicitly
This commit is contained in:
parent
4858f7c82f
commit
460d6ac8a4
|
|
@ -5,7 +5,7 @@
|
|||
<ContentAuth />
|
||||
</template>
|
||||
<ContentLinkShare v-else-if="authStore.authLinkShare" />
|
||||
<NoAuthWrapper v-else>
|
||||
<NoAuthWrapper v-else show-api-config>
|
||||
<RouterView />
|
||||
</NoAuthWrapper>
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ import {useConfigStore} from '@/stores/config'
|
|||
withDefaults(defineProps<{
|
||||
showApiConfig?: boolean
|
||||
}>(), {
|
||||
showApiConfig: true,
|
||||
showApiConfig: false,
|
||||
})
|
||||
const configStore = useConfigStore()
|
||||
const motd = computed(() => configStore.motd)
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<slot />
|
||||
</template>
|
||||
<section v-else-if="baseStore.error !== ''">
|
||||
<NoAuthWrapper :show-api-config="false">
|
||||
<NoAuthWrapper>
|
||||
<p v-if="baseStore.error === ERROR_NO_API_URL">
|
||||
{{ $t('ready.noApiUrlConfigured') }}
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue