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>
|
||||||
|
|
|
@ -117,7 +117,7 @@ export default {
|
||||||
props: { show: { type: Boolean, required: true } },
|
props: { show: { type: Boolean, required: true } },
|
||||||
setup (props) {
|
setup (props) {
|
||||||
// TODO (wvffle): Add defineEmits when rewriting to <script setup>
|
// TODO (wvffle): Add defineEmits when rewriting to <script setup>
|
||||||
const showRef = useVModel(props, 'show'/*, emit*/)
|
const showRef = useVModel(props, 'show'/*, emit */)
|
||||||
return { showRef }
|
return { showRef }
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
|
|
|
@ -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'
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||||
import { momentFormat} from '~/utils/filters'
|
import { momentFormat } from '~/utils/filters'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -242,7 +242,7 @@ export default {
|
||||||
},
|
},
|
||||||
setup (props) {
|
setup (props) {
|
||||||
// TODO (wvffle): Add defineEmits when rewriting to <script setup>
|
// TODO (wvffle): Add defineEmits when rewriting to <script setup>
|
||||||
const showRef = useVModel(props, 'show'/*, emit*/)
|
const showRef = useVModel(props, 'show'/*, emit */)
|
||||||
return { showRef }
|
return { showRef }
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
|
|
|
@ -244,7 +244,7 @@ export default {
|
||||||
},
|
},
|
||||||
setup (props) {
|
setup (props) {
|
||||||
// TODO (wvffle): Add defineEmits when rewriting to <script setup>
|
// TODO (wvffle): Add defineEmits when rewriting to <script setup>
|
||||||
const showRef = useVModel(props, 'show'/*, emit*/)
|
const showRef = useVModel(props, 'show'/*, emit */)
|
||||||
return { showRef }
|
return { showRef }
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
|
|
|
@ -218,7 +218,7 @@ export default {
|
||||||
},
|
},
|
||||||
setup (props) {
|
setup (props) {
|
||||||
// TODO (wvffle): Add defineEmits when rewriting to <script setup>
|
// TODO (wvffle): Add defineEmits when rewriting to <script setup>
|
||||||
const showRef = useVModel(props, 'show'/*, emit*/)
|
const showRef = useVModel(props, 'show'/*, emit */)
|
||||||
return {
|
return {
|
||||||
showRef,
|
showRef,
|
||||||
theme: useTheme(),
|
theme: useTheme(),
|
||||||
|
|
|
@ -254,7 +254,7 @@ import PlayButton from '~/components/audio/PlayButton.vue'
|
||||||
import TagsList from '~/components/tags/List.vue'
|
import TagsList from '~/components/tags/List.vue'
|
||||||
import ArtistLabel from '~/components/audio/ArtistLabel.vue'
|
import ArtistLabel from '~/components/audio/ArtistLabel.vue'
|
||||||
import AlbumDropdown from './AlbumDropdown.vue'
|
import AlbumDropdown from './AlbumDropdown.vue'
|
||||||
import { momentFormat} from '~/utils/filters'
|
import { momentFormat } from '~/utils/filters'
|
||||||
|
|
||||||
function groupByDisc (initial) {
|
function groupByDisc (initial) {
|
||||||
function inner (acc, track) {
|
function inner (acc, track) {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -401,7 +401,7 @@
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import FetchButton from '~/components/federation/FetchButton.vue'
|
import FetchButton from '~/components/federation/FetchButton.vue'
|
||||||
import TagsList from '~/components/tags/List.vue'
|
import TagsList from '~/components/tags/List.vue'
|
||||||
import { humanSize, truncate} from '~/utils/filters'
|
import { humanSize, truncate } from '~/utils/filters'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -360,7 +360,7 @@
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||||
import useLogger from '~/composables/useLogger'
|
import useLogger from '~/composables/useLogger'
|
||||||
import { humanSize, truncate} from '~/utils/filters'
|
import { humanSize, truncate } from '~/utils/filters'
|
||||||
|
|
||||||
const logger = useLogger()
|
const logger = useLogger()
|
||||||
|
|
||||||
|
|
|
@ -210,7 +210,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import { truncate} from '~/utils/filters'
|
import { truncate } from '~/utils/filters'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: { id: { type: Number, required: true } },
|
props: { id: { type: Number, required: true } },
|
||||||
|
|
|
@ -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)"
|
||||||
|
|
|
@ -572,7 +572,7 @@ import $ from 'jquery'
|
||||||
import InstancePolicyForm from '~/components/manage/moderation/InstancePolicyForm.vue'
|
import InstancePolicyForm from '~/components/manage/moderation/InstancePolicyForm.vue'
|
||||||
import InstancePolicyCard from '~/components/manage/moderation/InstancePolicyCard.vue'
|
import InstancePolicyCard from '~/components/manage/moderation/InstancePolicyCard.vue'
|
||||||
import useLogger from '~/composables/useLogger'
|
import useLogger from '~/composables/useLogger'
|
||||||
import { humanSize} from '~/utils/filters'
|
import { humanSize } from '~/utils/filters'
|
||||||
|
|
||||||
const logger = useLogger()
|
const logger = useLogger()
|
||||||
|
|
||||||
|
|
|
@ -462,7 +462,7 @@ import { get } from 'lodash-es'
|
||||||
|
|
||||||
import InstancePolicyForm from '~/components/manage/moderation/InstancePolicyForm.vue'
|
import InstancePolicyForm from '~/components/manage/moderation/InstancePolicyForm.vue'
|
||||||
import InstancePolicyCard from '~/components/manage/moderation/InstancePolicyCard.vue'
|
import InstancePolicyCard from '~/components/manage/moderation/InstancePolicyCard.vue'
|
||||||
import { humanSize} from '~/utils/filters'
|
import { humanSize } from '~/utils/filters'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -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">
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||||
import { humanSize} from '~/utils/filters'
|
import { humanSize } from '~/utils/filters'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
mixins: [TranslationsMixin],
|
mixins: [TranslationsMixin],
|
||||||
|
|
|
@ -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