fix(format): eslint --fix
This commit is contained in:
parent
df3c8d0c51
commit
70e4f16592
|
@ -105,7 +105,10 @@ store.dispatch('auth/fetchUser')
|
||||||
</transition>
|
</transition>
|
||||||
</RouterView>
|
</RouterView>
|
||||||
</div>
|
</div>
|
||||||
<AudioPlayer class="funkwhale" v-bind="color({}, ['default', 'solid'])()" />
|
<AudioPlayer
|
||||||
|
class="funkwhale"
|
||||||
|
v-bind="color({}, ['default', 'solid'])()"
|
||||||
|
/>
|
||||||
<ServiceMessages />
|
<ServiceMessages />
|
||||||
<LanguagesModal />
|
<LanguagesModal />
|
||||||
<ShortcutsModal />
|
<ShortcutsModal />
|
||||||
|
|
|
@ -296,7 +296,10 @@ if (!isWebGLSupported) {
|
||||||
</template>
|
</template>
|
||||||
</h2>
|
</h2>
|
||||||
<span>
|
<span>
|
||||||
<Layout flex gap-8>
|
<Layout
|
||||||
|
flex
|
||||||
|
gap-8
|
||||||
|
>
|
||||||
<template
|
<template
|
||||||
v-for="ac in currentTrack.artistCredit"
|
v-for="ac in currentTrack.artistCredit"
|
||||||
:key="ac.artist.id"
|
:key="ac.artist.id"
|
||||||
|
|
|
@ -135,7 +135,8 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
|
||||||
stack
|
stack
|
||||||
main
|
main
|
||||||
>
|
>
|
||||||
<Header :h1="t('components.library.Artists.header.browse')"
|
<Header
|
||||||
|
:h1="t('components.library.Artists.header.browse')"
|
||||||
page-heading
|
page-heading
|
||||||
/>
|
/>
|
||||||
<Layout
|
<Layout
|
||||||
|
|
|
@ -491,7 +491,7 @@ const isServerDisclosureOpen = ref(false)
|
||||||
|
|
||||||
<!-- Retry row -->
|
<!-- Retry row -->
|
||||||
<template v-if="retryableFiles.length > 1">
|
<template v-if="retryableFiles.length > 1">
|
||||||
<b> </b>
|
<b />
|
||||||
<b />
|
<b />
|
||||||
<b />
|
<b />
|
||||||
<b>
|
<b>
|
||||||
|
|
|
@ -100,10 +100,10 @@ const labels = computed(() => ({
|
||||||
<Input
|
<Input
|
||||||
id="channel-search"
|
id="channel-search"
|
||||||
ref="search"
|
ref="search"
|
||||||
|
v-model="query"
|
||||||
name="search"
|
name="search"
|
||||||
search
|
search
|
||||||
:label="t('components.manage.ChannelsTable.label.search')"
|
:label="t('components.manage.ChannelsTable.label.search')"
|
||||||
v-model="query"
|
|
||||||
:placeholder="labels.searchPlaceholder"
|
:placeholder="labels.searchPlaceholder"
|
||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -112,10 +112,10 @@ const labels = computed(() => ({
|
||||||
<Input
|
<Input
|
||||||
id="albums-search"
|
id="albums-search"
|
||||||
ref="search"
|
ref="search"
|
||||||
|
v-model="query"
|
||||||
name="search"
|
name="search"
|
||||||
search
|
search
|
||||||
:label="t('components.manage.library.AlbumsTable.label.search')"
|
:label="t('components.manage.library.AlbumsTable.label.search')"
|
||||||
v-model="query"
|
|
||||||
:placeholder="labels.searchPlaceholder"
|
:placeholder="labels.searchPlaceholder"
|
||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -116,10 +116,10 @@ const getUrl = (artist: { channel?: number; id: number }) => {
|
||||||
<Input
|
<Input
|
||||||
id="artists-search"
|
id="artists-search"
|
||||||
ref="search"
|
ref="search"
|
||||||
|
v-model="query"
|
||||||
name="search"
|
name="search"
|
||||||
search
|
search
|
||||||
:label="t('components.manage.library.ArtistsTable.label.search')"
|
:label="t('components.manage.library.ArtistsTable.label.search')"
|
||||||
v-model="query"
|
|
||||||
:placeholder="labels.searchPlaceholder"
|
:placeholder="labels.searchPlaceholder"
|
||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -171,11 +171,11 @@ const getCurrentState = (target?: StateTarget): ReviewState => {
|
||||||
<div class="ui field">
|
<div class="ui field">
|
||||||
<form @submit.prevent="query = search.value">
|
<form @submit.prevent="query = search.value">
|
||||||
<Input
|
<Input
|
||||||
search
|
|
||||||
id="search-edits"
|
id="search-edits"
|
||||||
ref="search"
|
ref="search"
|
||||||
name="search"
|
|
||||||
v-model="query"
|
v-model="query"
|
||||||
|
search
|
||||||
|
name="search"
|
||||||
:label="t('components.manage.library.EditsCardList.label.search')"
|
:label="t('components.manage.library.EditsCardList.label.search')"
|
||||||
autofocus
|
autofocus
|
||||||
:placeholder="labels.searchPlaceholder"
|
:placeholder="labels.searchPlaceholder"
|
||||||
|
@ -266,9 +266,9 @@ const getCurrentState = (target?: StateTarget): ReviewState => {
|
||||||
@refresh="fetchData()"
|
@refresh="fetchData()"
|
||||||
/>
|
/>
|
||||||
<Pagination
|
<Pagination
|
||||||
v-if="result && result.count > paginateBy"
|
v-if="result && result.count > paginateBy"
|
||||||
v-model:page="page"
|
v-model:page="page"
|
||||||
:pages="Math.ceil(result.count / paginateBy)"
|
:pages="Math.ceil(result.count / paginateBy)"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<span v-if="result && result.results.length > 0">
|
<span v-if="result && result.results.length > 0">
|
||||||
|
|
|
@ -115,10 +115,10 @@ const getPrivacyLevelChoice = (privacyLevel: PrivacyLevel) => {
|
||||||
<Input
|
<Input
|
||||||
id="libraries-search"
|
id="libraries-search"
|
||||||
ref="search"
|
ref="search"
|
||||||
|
v-model="query"
|
||||||
name="search"
|
name="search"
|
||||||
search
|
search
|
||||||
:label="t('components.manage.library.LibrariesTable.label.search')"
|
:label="t('components.manage.library.LibrariesTable.label.search')"
|
||||||
v-model="query"
|
|
||||||
:placeholder="labels.searchPlaceholder"
|
:placeholder="labels.searchPlaceholder"
|
||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -117,10 +117,10 @@ const showUploadDetailModal = ref(false)
|
||||||
<Input
|
<Input
|
||||||
id="tags-search"
|
id="tags-search"
|
||||||
ref="search"
|
ref="search"
|
||||||
|
v-model="query"
|
||||||
name="search"
|
name="search"
|
||||||
search
|
search
|
||||||
:label="t('components.manage.library.TagsTable.label.search')"
|
:label="t('components.manage.library.TagsTable.label.search')"
|
||||||
v-model="query"
|
|
||||||
:placeholder="labels.searchPlaceholder"
|
:placeholder="labels.searchPlaceholder"
|
||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
|
@ -216,13 +216,13 @@ const showUploadDetailModal = ref(false)
|
||||||
</td>
|
</td>
|
||||||
</template>
|
</template>
|
||||||
</action-table>
|
</action-table>
|
||||||
<Pagination
|
<Pagination
|
||||||
v-if="result && result.count > paginateBy"
|
v-if="result && result.count > paginateBy"
|
||||||
v-model:page="page"
|
v-model:page="page"
|
||||||
:pages="Math.ceil(result.count / paginateBy)"
|
:pages="Math.ceil(result.count / paginateBy)"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<span v-if="result && result.results.length > 0">
|
<span v-if="result && result.results.length > 0">
|
||||||
{{ t('components.manage.library.TagsTable.pagination.results', {start: ((page-1) * paginateBy) + 1, end: ((page-1) * paginateBy) + result.results.length, total: result.count}) }}
|
{{ t('components.manage.library.TagsTable.pagination.results', {start: ((page-1) * paginateBy) + 1, end: ((page-1) * paginateBy) + result.results.length, total: result.count}) }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -109,10 +109,10 @@ const labels = computed(() => ({
|
||||||
<Input
|
<Input
|
||||||
id="tracks-search"
|
id="tracks-search"
|
||||||
ref="search"
|
ref="search"
|
||||||
|
v-model="query"
|
||||||
name="search"
|
name="search"
|
||||||
search
|
search
|
||||||
:label="t('components.manage.library.TracksTable.label.search')"
|
:label="t('components.manage.library.TracksTable.label.search')"
|
||||||
v-model="query"
|
|
||||||
:placeholder="labels.searchPlaceholder"
|
:placeholder="labels.searchPlaceholder"
|
||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -124,7 +124,7 @@ const getUrl = (code: string) => store.getters['instance/absoluteUrl'](router.re
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<Spacer :size="8"/>
|
<Spacer :size="8" />
|
||||||
<Button
|
<Button
|
||||||
destructive
|
destructive
|
||||||
icon="bi-trash"
|
icon="bi-trash"
|
||||||
|
|
|
@ -101,7 +101,7 @@ const labels = computed(() => ({
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ store.state.ui.notifications.inbox }}
|
{{ store.state.ui.notifications.inbox }}
|
||||||
</div>
|
</div>
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-if="store.state.auth.authenticated"
|
v-if="store.state.auth.authenticated"
|
||||||
|
|
|
@ -448,7 +448,6 @@ watch(queryDebounced, search, { immediate: true })
|
||||||
: ({ expand: () => openSections.add(category.type) })
|
: ({ expand: () => openSections.add(category.type) })
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|
||||||
<!-- Categories that have one list-style item -->
|
<!-- Categories that have one list-style item -->
|
||||||
|
|
||||||
<TrackTable
|
<TrackTable
|
||||||
|
|
|
@ -191,14 +191,17 @@ const markAllAsRead = async () => {
|
||||||
@submit.prevent="setDisplayDate('funkwhale_support_message_display_date', funkwhaleSupportMessageDelay)"
|
@submit.prevent="setDisplayDate('funkwhale_support_message_display_date', funkwhaleSupportMessageDelay)"
|
||||||
>
|
>
|
||||||
<Layout flex>
|
<Layout flex>
|
||||||
<label for="funkwhale-reminder-delay" style="align-self: center;">
|
<label
|
||||||
|
for="funkwhale-reminder-delay"
|
||||||
|
style="align-self: center;"
|
||||||
|
>
|
||||||
{{ t('views.Notifications.label.reminder') }}
|
{{ t('views.Notifications.label.reminder') }}
|
||||||
</label>
|
</label>
|
||||||
<select
|
<select
|
||||||
id="funkwhale-reminder-delay"
|
id="funkwhale-reminder-delay"
|
||||||
|
v-model="funkwhaleSupportMessageDelay"
|
||||||
class="ui dropdown"
|
class="ui dropdown"
|
||||||
style="margin-top: 0px;"
|
style="margin-top: 0px;"
|
||||||
v-model="funkwhaleSupportMessageDelay"
|
|
||||||
>
|
>
|
||||||
<option :value="30">
|
<option :value="30">
|
||||||
{{ t('views.Notifications.option.delay.30') }}
|
{{ t('views.Notifications.option.delay.30') }}
|
||||||
|
@ -238,8 +241,8 @@ const markAllAsRead = async () => {
|
||||||
<Button
|
<Button
|
||||||
v-if="filters.is_read === false && notifications.count > 0"
|
v-if="filters.is_read === false && notifications.count > 0"
|
||||||
secondary
|
secondary
|
||||||
@click.prevent="markAllAsRead"
|
|
||||||
icon="bi-check-all"
|
icon="bi-check-all"
|
||||||
|
@click.prevent="markAllAsRead"
|
||||||
>
|
>
|
||||||
{{ t('views.Notifications.button.read') }}
|
{{ t('views.Notifications.button.read') }}
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -248,13 +251,13 @@ const markAllAsRead = async () => {
|
||||||
|
|
||||||
<Table
|
<Table
|
||||||
v-else-if="notifications.count > 0"
|
v-else-if="notifications.count > 0"
|
||||||
:gridTemplateColumns="['auto', 'auto', 'auto', 'auto']"
|
:grid-template-columns="['auto', 'auto', 'auto', 'auto']"
|
||||||
>
|
>
|
||||||
<notification-row
|
<notification-row
|
||||||
v-for="item in notifications.results"
|
v-for="item in notifications.results"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:initial-item="item"
|
:initial-item="item"
|
||||||
/>
|
/>
|
||||||
</Table>
|
</Table>
|
||||||
<p v-else-if="additionalNotifications === 0">
|
<p v-else-if="additionalNotifications === 0">
|
||||||
{{ t('views.Notifications.empty.notifications') }}
|
{{ t('views.Notifications.empty.notifications') }}
|
||||||
|
|
|
@ -142,8 +142,14 @@ const getImportStatusChoice = (importStatus: ImportStatus) => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Layout form class="ui form">
|
<Layout
|
||||||
<Layout stack class="fields">
|
form
|
||||||
|
class="ui form"
|
||||||
|
>
|
||||||
|
<Layout
|
||||||
|
stack
|
||||||
|
class="fields"
|
||||||
|
>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<Input
|
<Input
|
||||||
id="search"
|
id="search"
|
||||||
|
@ -154,7 +160,7 @@ const getImportStatusChoice = (importStatus: ImportStatus) => {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Layout flex>
|
<Layout flex>
|
||||||
<Spacer grow/>
|
<Spacer grow />
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="import-status">
|
<label for="import-status">
|
||||||
{{ t('views.content.libraries.FilesTable.label.importStatus') }}
|
{{ t('views.content.libraries.FilesTable.label.importStatus') }}
|
||||||
|
|
|
@ -260,6 +260,5 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
|
||||||
:pages="Math.ceil(result.count/paginateBy)"
|
:pages="Math.ceil(result.count/paginateBy)"
|
||||||
/>
|
/>
|
||||||
</Section>
|
</Section>
|
||||||
|
|
||||||
</Layout>
|
</Layout>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue