fix(front): use artist widget on channels page
This commit is contained in:
parent
0dc81176d1
commit
999bbcd559
|
@ -22,6 +22,7 @@ import useOrdering from '~/composables/navigation/useOrdering'
|
||||||
import useLogger from '~/composables/useLogger'
|
import useLogger from '~/composables/useLogger'
|
||||||
|
|
||||||
import ChannelsWidget from '~/components/audio/ChannelsWidget.vue'
|
import ChannelsWidget from '~/components/audio/ChannelsWidget.vue'
|
||||||
|
import ArtistWidget from '~/components/artist/Widget.vue'
|
||||||
import RemoteSearchForm from '~/components/RemoteSearchForm.vue'
|
import RemoteSearchForm from '~/components/RemoteSearchForm.vue'
|
||||||
import ChannelForm from '~/components/audio/ChannelForm.vue'
|
import ChannelForm from '~/components/audio/ChannelForm.vue'
|
||||||
import Layout from '~/components/ui/Layout.vue'
|
import Layout from '~/components/ui/Layout.vue'
|
||||||
|
@ -31,7 +32,6 @@ import Button from '~/components/ui/Button.vue'
|
||||||
import Input from '~/components/ui/Input.vue'
|
import Input from '~/components/ui/Input.vue'
|
||||||
import Pills from '~/components/ui/Pills.vue'
|
import Pills from '~/components/ui/Pills.vue'
|
||||||
import Spacer from '~/components/ui/Spacer.vue'
|
import Spacer from '~/components/ui/Spacer.vue'
|
||||||
import Pagination from '~/components/ui/Pagination.vue'
|
|
||||||
|
|
||||||
interface Props extends OrderingProps {
|
interface Props extends OrderingProps {
|
||||||
scope?: 'me' | 'all'
|
scope?: 'me' | 'all'
|
||||||
|
@ -298,10 +298,10 @@ const showCreateModal = ref(false)
|
||||||
</select>
|
</select>
|
||||||
</Layout>
|
</Layout>
|
||||||
</Layout>
|
</Layout>
|
||||||
<channels-widget
|
<Spacer />
|
||||||
:show-modification-date="true"
|
<artist-widget
|
||||||
:limit="paginateBy"
|
:limit="paginateBy"
|
||||||
:filters="{q: query, ordering: ordering, tags: tags}"
|
:filters="{q: query, playable: true, ordering: ordering, include_channels: true, content_category: 'music', tags: tags}"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Modal
|
<Modal
|
||||||
|
|
Loading…
Reference in New Issue