Fix linting
This commit is contained in:
parent
d01901d8bd
commit
1122324799
|
@ -297,7 +297,7 @@
|
||||||
:filters="{playable: true, ordering: '-creation_date'}"
|
:filters="{playable: true, ordering: '-creation_date'}"
|
||||||
:limit="10"
|
:limit="10"
|
||||||
>
|
>
|
||||||
<template slot="title">
|
<template #title>
|
||||||
<translate translate-context="Content/Home/Title">
|
<translate translate-context="Content/Home/Title">
|
||||||
Recently added albums
|
Recently added albums
|
||||||
</translate>
|
</translate>
|
||||||
|
|
|
@ -159,8 +159,8 @@
|
||||||
/>
|
/>
|
||||||
<modal
|
<modal
|
||||||
ref="languageModal"
|
ref="languageModal"
|
||||||
:fullscreen="false"
|
|
||||||
v-model:show="showLanguageModal"
|
v-model:show="showLanguageModal"
|
||||||
|
:fullscreen="false"
|
||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
role="button"
|
role="button"
|
||||||
|
@ -190,8 +190,8 @@
|
||||||
</modal>
|
</modal>
|
||||||
<modal
|
<modal
|
||||||
ref="themeModal"
|
ref="themeModal"
|
||||||
:fullscreen="false"
|
|
||||||
v-model:show="showThemeModal"
|
v-model:show="showThemeModal"
|
||||||
|
:fullscreen="false"
|
||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
role="button"
|
role="button"
|
||||||
|
@ -526,7 +526,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState({
|
...mapState({
|
||||||
queue: state => state.queue,
|
queue: state => state.queue
|
||||||
}),
|
}),
|
||||||
...mapGetters({
|
...mapGetters({
|
||||||
additionalNotifications: 'ui/additionalNotifications'
|
additionalNotifications: 'ui/additionalNotifications'
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
:track-only="true"
|
:track-only="true"
|
||||||
:tracks="tracks.slice(0,5)"
|
:tracks="tracks.slice(0,5)"
|
||||||
>
|
>
|
||||||
<template slot="header">
|
<template #header>
|
||||||
<h2>
|
<h2>
|
||||||
<translate translate-context="Content/Artist/Title">
|
<translate translate-context="Content/Artist/Title">
|
||||||
New tracks by this artist
|
New tracks by this artist
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
:url="'history/listenings/'"
|
:url="'history/listenings/'"
|
||||||
:filters="{scope: scope, ordering: '-creation_date'}"
|
:filters="{scope: scope, ordering: '-creation_date'}"
|
||||||
>
|
>
|
||||||
<template slot="title">
|
<template #title>
|
||||||
<translate translate-context="Content/Home/Title">
|
<translate translate-context="Content/Home/Title">
|
||||||
Recently listened
|
Recently listened
|
||||||
</translate>
|
</translate>
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
:url="'favorites/tracks/'"
|
:url="'favorites/tracks/'"
|
||||||
:filters="{scope: scope, ordering: '-creation_date'}"
|
:filters="{scope: scope, ordering: '-creation_date'}"
|
||||||
>
|
>
|
||||||
<template slot="title">
|
<template #title>
|
||||||
<translate translate-context="Content/Home/Title">
|
<translate translate-context="Content/Home/Title">
|
||||||
Recently favorited
|
Recently favorited
|
||||||
</translate>
|
</translate>
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
:url="'playlists/'"
|
:url="'playlists/'"
|
||||||
:filters="{scope: scope, playable: true, ordering: '-modification_date'}"
|
:filters="{scope: scope, playable: true, ordering: '-modification_date'}"
|
||||||
>
|
>
|
||||||
<template slot="title">
|
<template #title>
|
||||||
<translate translate-context="*/*/*">
|
<translate translate-context="*/*/*">
|
||||||
Playlists
|
Playlists
|
||||||
</translate>
|
</translate>
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
<div class="ui stackable one column grid">
|
<div class="ui stackable one column grid">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<album-widget :filters="{scope: scope, playable: true, ordering: '-creation_date'}">
|
<album-widget :filters="{scope: scope, playable: true, ordering: '-creation_date'}">
|
||||||
<template slot="title">
|
<template #title>
|
||||||
<translate translate-context="Content/Home/Title">
|
<translate translate-context="Content/Home/Title">
|
||||||
Recently added
|
Recently added
|
||||||
</translate>
|
</translate>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
:controls="false"
|
:controls="false"
|
||||||
:filters="{playable: true, ordering: '-creation_date', tag: id, include_channels: 'false'}"
|
:filters="{playable: true, ordering: '-creation_date', tag: id, include_channels: 'false'}"
|
||||||
>
|
>
|
||||||
<template slot="title">
|
<template #title>
|
||||||
<router-link :to="{name: 'library.artists.browse', query: {tag: id}}">
|
<router-link :to="{name: 'library.artists.browse', query: {tag: id}}">
|
||||||
<translate translate-context="*/*/*/Noun">
|
<translate translate-context="*/*/*/Noun">
|
||||||
Artists
|
Artists
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
:controls="false"
|
:controls="false"
|
||||||
:filters="{playable: true, ordering: '-creation_date', tag: id}"
|
:filters="{playable: true, ordering: '-creation_date', tag: id}"
|
||||||
>
|
>
|
||||||
<template slot="title">
|
<template #title>
|
||||||
<router-link :to="{name: 'library.albums.browse', query: {tag: id}}">
|
<router-link :to="{name: 'library.albums.browse', query: {tag: id}}">
|
||||||
<translate translate-context="*/*/*">
|
<translate translate-context="*/*/*">
|
||||||
Albums
|
Albums
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
:is-activity="false"
|
:is-activity="false"
|
||||||
:filters="{playable: true, ordering: '-creation_date', tag: id}"
|
:filters="{playable: true, ordering: '-creation_date', tag: id}"
|
||||||
>
|
>
|
||||||
<template slot="title">
|
<template #title>
|
||||||
<translate translate-context="*/*/*">
|
<translate translate-context="*/*/*">
|
||||||
Tracks
|
Tracks
|
||||||
</translate>
|
</translate>
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
:filters="actionFilters"
|
:filters="actionFilters"
|
||||||
@action-launched="fetchData"
|
@action-launched="fetchData"
|
||||||
>
|
>
|
||||||
<template slot="header-cells">
|
<template #header-cells>
|
||||||
<th>
|
<th>
|
||||||
<translate translate-context="*/*/*/Noun">
|
<translate translate-context="*/*/*/Noun">
|
||||||
Name
|
Name
|
||||||
|
@ -124,8 +124,7 @@
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
slot="row-cells"
|
#row-cells="scope"
|
||||||
slot-scope="scope"
|
|
||||||
>
|
>
|
||||||
<td>
|
<td>
|
||||||
<router-link :to="{name: 'manage.channels.detail', params: {id: scope.obj.actor.full_username }}">
|
<router-link :to="{name: 'manage.channels.detail', params: {id: scope.obj.actor.full_username }}">
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
:filters="actionFilters"
|
:filters="actionFilters"
|
||||||
@action-launched="fetchData"
|
@action-launched="fetchData"
|
||||||
>
|
>
|
||||||
<template slot="header-cells">
|
<template #header-cells>
|
||||||
<th>
|
<th>
|
||||||
<translate translate-context="*/*/*/Noun">
|
<translate translate-context="*/*/*/Noun">
|
||||||
Title
|
Title
|
||||||
|
@ -99,8 +99,7 @@
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
slot="row-cells"
|
#row-cells="scope"
|
||||||
slot-scope="scope"
|
|
||||||
>
|
>
|
||||||
<td>
|
<td>
|
||||||
<router-link :to="{name: 'manage.library.albums.detail', params: {id: scope.obj.id }}">
|
<router-link :to="{name: 'manage.library.albums.detail', params: {id: scope.obj.id }}">
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
:filters="actionFilters"
|
:filters="actionFilters"
|
||||||
@action-launched="fetchData"
|
@action-launched="fetchData"
|
||||||
>
|
>
|
||||||
<template slot="header-cells">
|
<template #header-cells>
|
||||||
<th>
|
<th>
|
||||||
<translate translate-context="*/*/*/Noun">
|
<translate translate-context="*/*/*/Noun">
|
||||||
Name
|
Name
|
||||||
|
@ -119,8 +119,7 @@
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
slot="row-cells"
|
#row-cells="scope"
|
||||||
slot-scope="scope"
|
|
||||||
>
|
>
|
||||||
<td>
|
<td>
|
||||||
<router-link :to="getUrl(scope.obj)">
|
<router-link :to="getUrl(scope.obj)">
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
:filters="actionFilters"
|
:filters="actionFilters"
|
||||||
@action-launched="fetchData"
|
@action-launched="fetchData"
|
||||||
>
|
>
|
||||||
<template slot="header-cells">
|
<template #header-cells>
|
||||||
<th>
|
<th>
|
||||||
<translate translate-context="*/*/*/Noun">
|
<translate translate-context="*/*/*/Noun">
|
||||||
Name
|
Name
|
||||||
|
@ -129,8 +129,7 @@
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
slot="row-cells"
|
#row-cells="scope"
|
||||||
slot-scope="scope"
|
|
||||||
>
|
>
|
||||||
<td>
|
<td>
|
||||||
<router-link :to="{name: 'manage.library.libraries.detail', params: {id: scope.obj.uuid }}">
|
<router-link :to="{name: 'manage.library.libraries.detail', params: {id: scope.obj.uuid }}">
|
||||||
|
|
|
@ -53,8 +53,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<import-status-modal
|
<import-status-modal
|
||||||
|
v-model:show="showUploadDetailModal"
|
||||||
:upload="detailedUpload"
|
:upload="detailedUpload"
|
||||||
:show.sync="showUploadDetailModal"
|
|
||||||
/>
|
/>
|
||||||
<div class="dimmable">
|
<div class="dimmable">
|
||||||
<div
|
<div
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
:filters="actionFilters"
|
:filters="actionFilters"
|
||||||
@action-launched="fetchData"
|
@action-launched="fetchData"
|
||||||
>
|
>
|
||||||
<template slot="header-cells">
|
<template #header-cells>
|
||||||
<th>
|
<th>
|
||||||
<translate translate-context="*/*/*/Noun">
|
<translate translate-context="*/*/*/Noun">
|
||||||
Name
|
Name
|
||||||
|
@ -100,8 +100,7 @@
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
slot="row-cells"
|
#row-cells="scope"
|
||||||
slot-scope="scope"
|
|
||||||
>
|
>
|
||||||
<td>
|
<td>
|
||||||
<router-link :to="{name: 'manage.library.tags.detail', params: {id: scope.obj.name }}">
|
<router-link :to="{name: 'manage.library.tags.detail', params: {id: scope.obj.name }}">
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
:filters="actionFilters"
|
:filters="actionFilters"
|
||||||
@action-launched="fetchData"
|
@action-launched="fetchData"
|
||||||
>
|
>
|
||||||
<template slot="header-cells">
|
<template #header-cells>
|
||||||
<th>
|
<th>
|
||||||
<translate translate-context="*/*/*/Noun">
|
<translate translate-context="*/*/*/Noun">
|
||||||
Title
|
Title
|
||||||
|
@ -100,8 +100,7 @@
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
slot="row-cells"
|
#row-cells="scope"
|
||||||
slot-scope="scope"
|
|
||||||
>
|
>
|
||||||
<td>
|
<td>
|
||||||
<router-link :to="{name: 'manage.library.tracks.detail', params: {id: scope.obj.id }}">
|
<router-link :to="{name: 'manage.library.tracks.detail', params: {id: scope.obj.id }}">
|
||||||
|
|
|
@ -112,8 +112,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<import-status-modal
|
<import-status-modal
|
||||||
|
v-model:show="showUploadDetailModal"
|
||||||
:upload="detailedUpload"
|
:upload="detailedUpload"
|
||||||
:show.sync="showUploadDetailModal"
|
|
||||||
/>
|
/>
|
||||||
<div class="dimmable">
|
<div class="dimmable">
|
||||||
<div
|
<div
|
||||||
|
@ -130,7 +130,7 @@
|
||||||
:filters="actionFilters"
|
:filters="actionFilters"
|
||||||
@action-launched="fetchData"
|
@action-launched="fetchData"
|
||||||
>
|
>
|
||||||
<template slot="header-cells">
|
<template #header-cells>
|
||||||
<th>
|
<th>
|
||||||
<translate translate-context="*/*/*/Noun">
|
<translate translate-context="*/*/*/Noun">
|
||||||
Name
|
Name
|
||||||
|
@ -178,8 +178,7 @@
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
slot="row-cells"
|
#row-cells="scope"
|
||||||
slot-scope="scope"
|
|
||||||
>
|
>
|
||||||
<td>
|
<td>
|
||||||
<router-link :to="{name: 'manage.library.uploads.detail', params: {id: scope.obj.uuid }}">
|
<router-link :to="{name: 'manage.library.uploads.detail', params: {id: scope.obj.uuid }}">
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
:filters="actionFilters"
|
:filters="actionFilters"
|
||||||
@action-launched="fetchData"
|
@action-launched="fetchData"
|
||||||
>
|
>
|
||||||
<template slot="header-cells">
|
<template #header-cells>
|
||||||
<th>
|
<th>
|
||||||
<translate translate-context="*/*/*/Noun">
|
<translate translate-context="*/*/*/Noun">
|
||||||
Name
|
Name
|
||||||
|
@ -100,8 +100,7 @@
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
slot="row-cells"
|
#row-cells="scope"
|
||||||
slot-scope="scope"
|
|
||||||
>
|
>
|
||||||
<td>
|
<td>
|
||||||
<router-link :to="{name: 'manage.moderation.accounts.detail', params: {id: scope.obj.full_username }}">
|
<router-link :to="{name: 'manage.moderation.accounts.detail', params: {id: scope.obj.full_username }}">
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
:filters="actionFilters"
|
:filters="actionFilters"
|
||||||
@action-launched="fetchData"
|
@action-launched="fetchData"
|
||||||
>
|
>
|
||||||
<template slot="header-cells">
|
<template #header-cells>
|
||||||
<th>
|
<th>
|
||||||
<translate translate-context="*/*/*/Noun">
|
<translate translate-context="*/*/*/Noun">
|
||||||
Name
|
Name
|
||||||
|
@ -120,8 +120,7 @@
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
slot="row-cells"
|
#row-cells="scope"
|
||||||
slot-scope="scope"
|
|
||||||
>
|
>
|
||||||
<td>
|
<td>
|
||||||
<router-link :to="{name: 'manage.moderation.domains.detail', params: {id: scope.obj.name }}">
|
<router-link :to="{name: 'manage.moderation.domains.detail', params: {id: scope.obj.name }}">
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
:filters="actionFilters"
|
:filters="actionFilters"
|
||||||
@action-launched="fetchData"
|
@action-launched="fetchData"
|
||||||
>
|
>
|
||||||
<template slot="header-cells">
|
<template #header-cells>
|
||||||
<th>
|
<th>
|
||||||
<translate translate-context="*/*/*">
|
<translate translate-context="*/*/*">
|
||||||
Owner
|
Owner
|
||||||
|
@ -97,8 +97,7 @@
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
slot="row-cells"
|
#row-cells="scope"
|
||||||
slot-scope="scope"
|
|
||||||
>
|
>
|
||||||
<td>
|
<td>
|
||||||
<router-link :to="{name: 'manage.users.users.detail', params: {id: scope.obj.id }}">
|
<router-link :to="{name: 'manage.users.users.detail', params: {id: scope.obj.id }}">
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
:filters="actionFilters"
|
:filters="actionFilters"
|
||||||
@action-launched="fetchData"
|
@action-launched="fetchData"
|
||||||
>
|
>
|
||||||
<template slot="header-cells">
|
<template #header-cells>
|
||||||
<th>
|
<th>
|
||||||
<translate translate-context="Content/*/*">
|
<translate translate-context="Content/*/*">
|
||||||
Username
|
Username
|
||||||
|
@ -102,8 +102,7 @@
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
slot="row-cells"
|
#row-cells="scope"
|
||||||
slot-scope="scope"
|
|
||||||
>
|
>
|
||||||
<td>
|
<td>
|
||||||
<router-link
|
<router-link
|
||||||
|
|
|
@ -129,8 +129,8 @@
|
||||||
<draggable
|
<draggable
|
||||||
v-model:list="plts"
|
v-model:list="plts"
|
||||||
tag="tbody"
|
tag="tbody"
|
||||||
@update="reorder"
|
|
||||||
item-key="_id"
|
item-key="_id"
|
||||||
|
@update="reorder"
|
||||||
>
|
>
|
||||||
<template #item="{ element: plt, index }">
|
<template #item="{ element: plt, index }">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
</div>
|
</div>
|
||||||
<template v-if="object">
|
<template v-if="object">
|
||||||
<import-status-modal
|
<import-status-modal
|
||||||
|
v-model:show="showUploadDetailModal"
|
||||||
:upload="object"
|
:upload="object"
|
||||||
:show.sync="showUploadDetailModal"
|
|
||||||
/>
|
/>
|
||||||
<section
|
<section
|
||||||
v-title="displayName(object)"
|
v-title="displayName(object)"
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
</div>
|
</div>
|
||||||
</h1>
|
</h1>
|
||||||
<modal
|
<modal
|
||||||
class="tiny"
|
|
||||||
v-model:show="showSubscribeModal"
|
v-model:show="showSubscribeModal"
|
||||||
|
class="tiny"
|
||||||
:fullscreen="false"
|
:fullscreen="false"
|
||||||
>
|
>
|
||||||
<h2 class="header">
|
<h2 class="header">
|
||||||
|
|
|
@ -101,8 +101,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<import-status-modal
|
<import-status-modal
|
||||||
|
v-model:show="showUploadDetailModal"
|
||||||
:upload="detailedUpload"
|
:upload="detailedUpload"
|
||||||
:show.sync="showUploadDetailModal"
|
|
||||||
/>
|
/>
|
||||||
<div class="dimmable">
|
<div class="dimmable">
|
||||||
<div
|
<div
|
||||||
|
@ -137,7 +137,7 @@
|
||||||
@action-launched="fetchData"
|
@action-launched="fetchData"
|
||||||
@refresh="fetchData"
|
@refresh="fetchData"
|
||||||
>
|
>
|
||||||
<template slot="header-cells">
|
<template #header-cells>
|
||||||
<th>
|
<th>
|
||||||
<translate translate-context="*/*/*/Noun">
|
<translate translate-context="*/*/*/Noun">
|
||||||
Title
|
Title
|
||||||
|
@ -175,8 +175,7 @@
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
slot="row-cells"
|
#row-cells="scope"
|
||||||
slot-scope="scope"
|
|
||||||
>
|
>
|
||||||
<template v-if="scope.obj.track">
|
<template v-if="scope.obj.track">
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Reference in New Issue