From bd3dce26d9daa1ca27024c3b0cfb304a10141cb0 Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Sun, 26 May 2024 17:22:47 +0000 Subject: [PATCH] Playlist row can always be deleted --- client/components/tables/playlist/ItemTableRow.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/components/tables/playlist/ItemTableRow.vue b/client/components/tables/playlist/ItemTableRow.vue index e5486461..6899f600 100644 --- a/client/components/tables/playlist/ItemTableRow.vue +++ b/client/components/tables/playlist/ItemTableRow.vue @@ -38,7 +38,7 @@
-
+
@@ -75,8 +75,7 @@ export default { }, computed: { translateDistance() { - if (!this.userCanUpdate && !this.userCanDelete) return 'translate-x-0' - else if (!this.userCanUpdate || !this.userCanDelete) return '-translate-x-12' + if (!this.userCanUpdate) return '-translate-x-12' return '-translate-x-24' }, libraryItem() { @@ -233,4 +232,4 @@ export default { }, mounted() {} } - \ No newline at end of file +