diff --git a/front/src/components/Queue.vue b/front/src/components/Queue.vue index 7472d4f7a..6b6032ae0 100644 --- a/front/src/components/Queue.vue +++ b/front/src/components/Queue.vue @@ -13,8 +13,8 @@ import { useQueue } from '~/composables/audio/queue' import time from '~/utils/time' -// import TrackFavoriteIcon from '~/components/favorites/TrackFavoriteIcon.vue' -// import TrackPlaylistIcon from '~/components/playlists/TrackPlaylistIcon.vue' +import TrackFavoriteIcon from '~/components/favorites/TrackFavoriteIcon.vue' +import TrackPlaylistIcon from '~/components/playlists/TrackPlaylistIcon.vue' import PlayerControls from '~/components/audio/PlayerControls.vue' import VirtualList from '~/components/vui/list/VirtualList.vue' import QueueItem from '~/components/QueueItem.vue' @@ -131,6 +131,18 @@ const reorderTracks = async (from: number, to: number) => { scrollToCurrent() } } + +const hideArtist = () => { + if (currentTrack.value.artistId !== -1) { + return store.dispatch('moderation/hide', { + type: 'artist', + target: { + id: currentTrack.value.artistId, + name: currentTrack.value.artistName + } + }) + } +}