fix(front): playbutton filter fix

This commit is contained in:
ArneBo 2025-03-17 00:16:10 +01:00
parent c53f4fbeeb
commit 1e9de5a97c
1 changed files with 5 additions and 5 deletions

View File

@ -64,7 +64,7 @@ const props = withDefaults(defineProps<Props>(), {
const {
playable,
filterableArtists,
filterableArtist,
filterArtist,
enqueue,
enqueueNext,
@ -115,7 +115,7 @@ const isOpen = ref(false)
<Button
v-else
v-bind="{
disabled: !playable,
disabled: !playable && !filterableArtist,
primary: playable,
split: true,
splitIcon: 'bi-caret-down-fill'
@ -201,11 +201,11 @@ const isOpen = ref(false)
</span>
</PopoverItem>
<hr v-if="filterableArtists || Object.keys(getReportableObjects({track, album, artist, playlist, account, channel})).length > 0">
<hr v-if="filterableArtist || Object.keys(getReportableObjects({track, album, artist, playlist, account, channel})).length > 0">
<PopoverItem
v-if="filterableArtists"
:disabled="!filterableArtists"
v-if="filterableArtist"
:disabled="!filterableArtist"
:title="labels.hideArtist"
icon="bi-eye-slash"
@click.stop.prevent="filterArtist"