fix(front): indentation error

This commit is contained in:
ArneBo 2025-04-06 23:26:37 +02:00
parent f754b397a9
commit 8583769a9f
1 changed files with 36 additions and 36 deletions

View File

@ -53,42 +53,42 @@ const libraryCreated = (library: Library) => {
</script> </script>
<template> <template>
<Loader v-if="isLoading" /> <Loader v-if="isLoading" />
<Section <Section
v-else v-else
:h1="t('views.content.libraries.Home.header.libraries')" :h1="t('views.content.libraries.Home.header.libraries')"
page-header page-header
>
<Alert
v-if="libraries.length == 0"
yellow
> >
<Alert {{ t('views.content.libraries.Home.empty.noLibrary') }}
v-if="libraries.length == 0" <Button
yellow :aria-expanded="!hiddenForm"
:icon="hiddenForm ? 'bi-plus' : 'bi-minus'"
@click.prevent="hiddenForm = !hiddenForm"
> >
{{ t('views.content.libraries.Home.empty.noLibrary') }} {{ t('views.content.libraries.Home.link.createLibrary') }}
<Button </Button>
:aria-expanded="!hiddenForm" </Alert>
:icon="hiddenForm ? 'bi-plus' : 'bi-minus'" <library-form
@click.prevent="hiddenForm = !hiddenForm" v-if="!hiddenForm"
> @created="libraryCreated"
{{ t('views.content.libraries.Home.link.createLibrary') }} />
</Button> </Section>
</Alert> <quota />
<library-form <Spacer />
v-if="!hiddenForm" <Section
@created="libraryCreated" v-if="libraries.length > 0"
/> >
</Section> <library-card
<quota /> v-for="library in libraries"
<Spacer /> :key="library.uuid"
<Section :display-scan="false"
v-if="libraries.length > 0" :display-follow="store.state.auth.authenticated && library.actor.full_username != store.state.auth.fullUsername"
> :initial-library="library"
<library-card :display-copy-fid="true"
v-for="library in libraries" />
:key="library.uuid" </Section>
:display-scan="false"
:display-follow="store.state.auth.authenticated && library.actor.full_username != store.state.auth.fullUsername"
:initial-library="library"
:display-copy-fid="true"
/>
</Section>
</template> </template>