From c6c4dcad7c98b755ea982c35629db29a09db36cb Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sun, 9 Mar 2025 06:00:18 +0100 Subject: [PATCH] Added quick alert buttons to entity and tag headers. --- components/stashes/heart.vue | 10 +-- pages/entities/@entitySlug/+Page.vue | 90 +++++++++++-------- pages/entities/@entitySlug/+onBeforeRender.js | 2 +- pages/tags/@tagId/+Page.vue | 21 ++++- pages/tags/@tagId/+onBeforeRender.js | 2 +- src/actors.js | 4 - src/alerts.js | 2 - src/entities.js | 19 +++- src/tags.js | 29 +++++- 9 files changed, 118 insertions(+), 61 deletions(-) diff --git a/components/stashes/heart.vue b/components/stashes/heart.vue index 4c31f14..4c05ef2 100644 --- a/components/stashes/heart.vue +++ b/components/stashes/heart.vue @@ -32,7 +32,7 @@ @@ -55,7 +55,7 @@ 0); const hasSecondaryStash = computed(() => itemStashes.value.some((itemStash) => !itemStash.isPrimary)); -if (props.domain === 'actors') { - console.log(itemAlerts.value); -} - const done = ref(true); const showStashes = ref(false); const showStashDialog = ref(false); diff --git a/pages/entities/@entitySlug/+Page.vue b/pages/entities/@entitySlug/+Page.vue index 7c65737..8d11c71 100644 --- a/pages/entities/@entitySlug/+Page.vue +++ b/pages/entities/@entitySlug/+Page.vue @@ -1,46 +1,54 @@