From 6bc4da702aa44ecd2e9b941e9bb8b4da54400995 Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 14 Jan 2022 19:54:54 +0100 Subject: [PATCH] showing even if psa in memory is sticky --- src/js/elements/psa.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/elements/psa.js b/src/js/elements/psa.js index 051817650..ecaab78a1 100644 --- a/src/js/elements/psa.js +++ b/src/js/elements/psa.js @@ -28,7 +28,7 @@ export async function show() { } let localmemory = getMemory(); latest.forEach((psa) => { - if (localmemory.includes(psa._id)) return; + if (localmemory.includes(psa._id) && psa.sticky === false) return; Notifications.addBanner( psa.message, psa.level,