style(front): remove delete button from playlist detail

This commit is contained in:
ArneBo 2025-02-07 17:19:25 +01:00
parent d94111ba3c
commit 600a404a70
1 changed files with 0 additions and 24 deletions

View File

@ -193,30 +193,6 @@ const deletePlaylist = async () => {
{{ t('views.playlists.Detail.button.edit') }}
</template>
</Button>
<DangerousButton
v-if="store.state.auth.profile && playlist.actor.full_username === store.state.auth.fullUsername"
:action="deletePlaylist"
>
{{ t('views.playlists.Detail.button.delete') }}
<template #alert>
<Alert red>
<p>
{{ t('views.playlists.Detail.modal.delete.content.warning') }}
</p>
</Alert>
</template>
<template #actions>
<Button @click="showDeleteModal = false">
{{ t('views.playlists.Detail.button.cancel') }}
</Button>
<Button
destructive
@click="deletePlaylist"
>
{{ t('views.playlists.Detail.button.confirm') }}
</Button>
</template>
</DangerousButton>
<Spacer h grow />
<playlist-dropdown
:playlist="playlist"