From d11501b2c67c56c96be666a28344848c9c127340 Mon Sep 17 00:00:00 2001 From: advplyr Date: Thu, 1 Sep 2022 16:24:17 -0500 Subject: [PATCH] Remove add to collection menu item from podcast cards --- client/components/cards/LazyBookCard.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/client/components/cards/LazyBookCard.vue b/client/components/cards/LazyBookCard.vue index 7a2bc369..a08caf55 100644 --- a/client/components/cards/LazyBookCard.vue +++ b/client/components/cards/LazyBookCard.vue @@ -388,12 +388,14 @@ export default { text: `Mark as ${this.itemIsFinished ? 'Not Finished' : 'Finished'}` } ] + if (this.userCanUpdate) { + items.push({ + func: 'openCollections', + text: 'Add to Collection' + }) + } } if (this.userCanUpdate) { - items.push({ - func: 'openCollections', - text: 'Add to Collection' - }) items.push({ func: 'showEditModalFiles', text: 'Files'