Purging expired notifications and alerts. Fixed manticore stash sync.
This commit is contained in:
@@ -22,6 +22,10 @@ const props = defineProps({
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
showAlert: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
});
|
||||
|
||||
const emit = defineEmits(['stashed', 'unstashed']);
|
||||
@@ -118,6 +122,7 @@ async function alertItem() {
|
||||
...(props.domain === 'actors' && { actors: [props.item.id] }),
|
||||
...(props.domain === 'tags' && { tags: [props.item.id] }),
|
||||
...(props.domain === 'entities' && { entities: [props.item.id] }),
|
||||
...(props.domain === 'scenes' && { scenes: [props.item.id] }),
|
||||
notify: true,
|
||||
email: false,
|
||||
preset: true,
|
||||
@@ -205,7 +210,7 @@ async function reloadStashes(newStash) {
|
||||
class="bookmarks"
|
||||
>
|
||||
<div
|
||||
v-if="showSecondary && !!itemAlerts"
|
||||
v-if="showSecondary && showAlert && !!itemAlerts"
|
||||
class="alert-trigger"
|
||||
>
|
||||
<Icon
|
||||
|
||||
Reference in New Issue
Block a user