mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-04 06:24:07 +08:00
showing even if psa in memory is sticky
This commit is contained in:
parent
6c93ed9c5a
commit
6bc4da702a
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue