fix(front): popover icons in playbutton dropdown
This commit is contained in:
parent
89485dc0ca
commit
087fcf3823
|
@ -141,55 +141,54 @@ const isOpen = ref(false)
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
:disabled="!playable"
|
:disabled="!playable"
|
||||||
:title="labels.addToQueue"
|
:title="labels.addToQueue"
|
||||||
|
icon="bi-plus"
|
||||||
@click.stop.prevent="enqueue"
|
@click.stop.prevent="enqueue"
|
||||||
>
|
>
|
||||||
<i class="bi bi-plus" />{{ labels.addToQueue }}
|
{{ labels.addToQueue }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
class="item basic"
|
|
||||||
:disabled="!playable"
|
:disabled="!playable"
|
||||||
:title="labels.playNext"
|
:title="labels.playNext"
|
||||||
|
icon="bi-skip-forward-fill"
|
||||||
@click.stop.prevent="enqueueNext()"
|
@click.stop.prevent="enqueueNext()"
|
||||||
>
|
>
|
||||||
<i class="bi bi-skip-forward-fill" />{{ labels.playNext }}
|
{{ labels.playNext }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
class="item basic"
|
|
||||||
:disabled="!playable"
|
:disabled="!playable"
|
||||||
:title="labels.playNow"
|
:title="labels.playNow"
|
||||||
|
icon="bi-play-fill"
|
||||||
@click.stop.prevent="enqueueNext(true)"
|
@click.stop.prevent="enqueueNext(true)"
|
||||||
>
|
>
|
||||||
<i class="bi bi-play-fill" />{{ labels.playNow }}
|
{{ labels.playNow }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-if="track"
|
v-if="track"
|
||||||
class="item basic"
|
|
||||||
:disabled="!playable"
|
:disabled="!playable"
|
||||||
:title="labels.startRadio"
|
:title="labels.startRadio"
|
||||||
|
icon="bi-broadcast"
|
||||||
@click.stop.prevent="store.dispatch('radios/start', {type: 'similar', objectId: track?.id})"
|
@click.stop.prevent="store.dispatch('radios/start', {type: 'similar', objectId: track?.id})"
|
||||||
>
|
>
|
||||||
<i class="bi bi-broadcast" />{{ labels.startRadio }}
|
{{ labels.startRadio }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-if="track"
|
v-if="track"
|
||||||
class="item basic"
|
|
||||||
:disabled="!playable"
|
:disabled="!playable"
|
||||||
|
icon="bi-list"
|
||||||
@click.stop="store.commit('playlists/chooseTrack', track)"
|
@click.stop="store.commit('playlists/chooseTrack', track)"
|
||||||
>
|
>
|
||||||
<i class="bi bi-list" />
|
|
||||||
{{ labels.addToPlaylist }}
|
{{ labels.addToPlaylist }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-if="track && route.name !== 'library.tracks.detail'"
|
v-if="track && route.name !== 'library.tracks.detail'"
|
||||||
class="item basic"
|
icon="bi-info-circle"
|
||||||
@click.stop.prevent="router.push(`/library/tracks/${track?.id}/`)"
|
@click.stop.prevent="router.push(`/library/tracks/${track?.id}/`)"
|
||||||
>
|
>
|
||||||
<i class="bi bi-info-circle" />
|
|
||||||
<span v-if="track.artist_credit?.some(ac => ac.artist.content_category === 'podcast')">
|
<span v-if="track.artist_credit?.some(ac => ac.artist.content_category === 'podcast')">
|
||||||
{{ t('components.audio.PlayButton.button.episodeDetails') }}
|
{{ t('components.audio.PlayButton.button.episodeDetails') }}
|
||||||
</span>
|
</span>
|
||||||
|
@ -202,22 +201,21 @@ const isOpen = ref(false)
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-if="filterableArtist"
|
v-if="filterableArtist"
|
||||||
class="item basic"
|
|
||||||
:disabled="!filterableArtist"
|
:disabled="!filterableArtist"
|
||||||
:title="labels.hideArtist"
|
:title="labels.hideArtist"
|
||||||
|
icon="bi-eye-slash"
|
||||||
@click.stop.prevent="filterArtist"
|
@click.stop.prevent="filterArtist"
|
||||||
>
|
>
|
||||||
<i class="bi bi-eye-slash" />
|
|
||||||
{{ labels.hideArtist }}
|
{{ labels.hideArtist }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-for="obj in getReportableObjects({track, album, artist, playlist, account, channel})"
|
v-for="obj in getReportableObjects({track, album, artist, playlist, account, channel})"
|
||||||
:key="obj.target.type + obj.target.id"
|
:key="obj.target.type + obj.target.id"
|
||||||
class="item basic"
|
icon="bi-share"
|
||||||
@click.stop.prevent="report(obj)"
|
@click.stop.prevent="report(obj)"
|
||||||
>
|
>
|
||||||
<i class="bi bi-share" /> {{ obj.label }}
|
{{ obj.label }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
</template>
|
</template>
|
||||||
</Popover>
|
</Popover>
|
||||||
|
|
Loading…
Reference in New Issue