fix(front): small fixes

This commit is contained in:
ArneBo 2025-01-23 01:20:21 +01:00
parent 5d65665d67
commit e2bb166707
3 changed files with 3 additions and 4 deletions

View File

@ -224,9 +224,9 @@ const remove = async () => {
:is-playable="object.is_playable"
/>
<Button
v-if="object.tracks.length > 2"
primary
icon="bi-shuffle"
:disabled="object.tracks.length < 2"
:aria-label="labels.shuffle"
@click.prevent.stop="shuffle()"
>

View File

@ -372,4 +372,4 @@ table {
width: 100%;
}
}
</style>
</style>

View File

@ -21,7 +21,6 @@ import Loader from '~/components/ui/Loader.vue'
import Modal from '~/components/ui/Modal.vue'
import PlayButton from '~/components/audio/PlayButton.vue'
import Button from '~/components/ui/Button.vue'
import Link from '~/components/ui/Link.vue'
import OptionsButton from '~/components/ui/button/Options.vue'
import Popover from '~/components/ui/Popover.vue'
import PopoverItem from '~/components/ui/popover/PopoverItem.vue'
@ -203,7 +202,7 @@ watch(showDeleteModal, (newValue) => {
<PopoverItem
v-if="isEmbedable"
@click="showEmbedModal = !showEmbedModal"
icon="bi-code"
icon="bi-code-slash"
>
{{ t('components.library.TrackBase.button.embed') }}
</PopoverItem>