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>
<template>
<Loader v-if="isLoading" />
<Section
v-else
:h1="t('views.content.libraries.Home.header.libraries')"
page-header
<Loader v-if="isLoading" />
<Section
v-else
:h1="t('views.content.libraries.Home.header.libraries')"
page-header
>
<Alert
v-if="libraries.length == 0"
yellow
>
<Alert
v-if="libraries.length == 0"
yellow
{{ t('views.content.libraries.Home.empty.noLibrary') }}
<Button
:aria-expanded="!hiddenForm"
:icon="hiddenForm ? 'bi-plus' : 'bi-minus'"
@click.prevent="hiddenForm = !hiddenForm"
>
{{ t('views.content.libraries.Home.empty.noLibrary') }}
<Button
:aria-expanded="!hiddenForm"
:icon="hiddenForm ? 'bi-plus' : 'bi-minus'"
@click.prevent="hiddenForm = !hiddenForm"
>
{{ t('views.content.libraries.Home.link.createLibrary') }}
</Button>
</Alert>
<library-form
v-if="!hiddenForm"
@created="libraryCreated"
/>
</Section>
<quota />
<Spacer />
<Section
v-if="libraries.length > 0"
>
<library-card
v-for="library in libraries"
:key="library.uuid"
: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>
{{ t('views.content.libraries.Home.link.createLibrary') }}
</Button>
</Alert>
<library-form
v-if="!hiddenForm"
@created="libraryCreated"
/>
</Section>
<quota />
<Spacer />
<Section
v-if="libraries.length > 0"
>
<library-card
v-for="library in libraries"
:key="library.uuid"
: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>