fix(ui): add missing layout imports on user forms
This commit is contained in:
parent
e7a476150f
commit
4673c3e24c
|
@ -11,6 +11,7 @@ import Alert from '~/components/ui/Alert.vue'
|
|||
import Input from '~/components/ui/Input.vue'
|
||||
import Button from '~/components/ui/Button.vue'
|
||||
import Spacer from '~/components/ui/layout/Spacer.vue'
|
||||
import Layout from '~/components/ui/Layout.vue'
|
||||
|
||||
interface Props {
|
||||
next?: RouteLocationRaw
|
||||
|
@ -105,7 +106,7 @@ const submit = async () => {
|
|||
</component>
|
||||
</component>
|
||||
</Alert>
|
||||
<Spacer v-if="errors.length > 0" />
|
||||
<Spacer />
|
||||
<template v-if="domain === store.getters['instance/domain']">
|
||||
<Input
|
||||
id="username-field"
|
||||
|
@ -149,7 +150,6 @@ const submit = async () => {
|
|||
{{ t('components.auth.LoginForm.message.redirect', { domain: store.getters['instance/domain'] }) }}
|
||||
</p>
|
||||
</template>
|
||||
<Spacer :size="16" />
|
||||
<Button
|
||||
solid
|
||||
primary
|
||||
|
|
|
@ -14,6 +14,7 @@ import Input from '~/components/ui/Input.vue'
|
|||
import Textarea from '~/components/ui/Textarea.vue'
|
||||
import Button from '~/components/ui/Button.vue'
|
||||
import Spacer from '~/components/ui/layout/Spacer.vue'
|
||||
import Layout from '~/components/ui/Layout.vue'
|
||||
|
||||
import useLogger from '~/composables/useLogger'
|
||||
|
||||
|
|
Loading…
Reference in New Issue