fix(front): playbutton filter fix
This commit is contained in:
parent
c53f4fbeeb
commit
1e9de5a97c
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue