style(front): remove delete button from playlist detail
This commit is contained in:
parent
d94111ba3c
commit
600a404a70
|
@ -193,30 +193,6 @@ const deletePlaylist = async () => {
|
||||||
{{ t('views.playlists.Detail.button.edit') }}
|
{{ t('views.playlists.Detail.button.edit') }}
|
||||||
</template>
|
</template>
|
||||||
</Button>
|
</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 />
|
<Spacer h grow />
|
||||||
<playlist-dropdown
|
<playlist-dropdown
|
||||||
:playlist="playlist"
|
:playlist="playlist"
|
||||||
|
|
Loading…
Reference in New Issue