From c3f3e15875309b3248bc95a7c305a2162a6a87a1 Mon Sep 17 00:00:00 2001 From: booploops <49113086+booploops@users.noreply.github.com> Date: Tue, 21 Dec 2021 18:19:44 -0800 Subject: [PATCH] adjusted mediaitem square for apple-curators --- src/renderer/views/components/mediaitem-square.ejs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/renderer/views/components/mediaitem-square.ejs b/src/renderer/views/components/mediaitem-square.ejs index bb4d4aa8..0d37567c 100644 --- a/src/renderer/views/components/mediaitem-square.ejs +++ b/src/renderer/views/components/mediaitem-square.ejs @@ -12,8 +12,8 @@ shadow="subtle" :type="item.type"> - - + +
{{ item.attributes.name }} @@ -48,7 +48,9 @@ return { isVisible: false, addedToLibrary: false, - guid: uuidv4() + guid: uuidv4(), + noplay: ["apple-curators"], + nomenu: ["artists", "stations", "apple-curators"] } }, methods: { @@ -84,6 +86,9 @@ this.isVisible = isVisible }, contextMenu(event) { + if(this.nomenu.includes(this.item.type)) { + return + } if (!event) { event = this.$refs.main } else { console.log(event) } let self = this let useMenu = "normal"