mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 05:35:05 +08:00
defaulting to false
This commit is contained in:
parent
7a1596d562
commit
b2386e04aa
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@ export async function show(): Promise<void> {
|
|||
}
|
||||
const localmemory = getMemory();
|
||||
latest.forEach((psa) => {
|
||||
if (localmemory.includes(psa._id) && psa.sticky === false) return;
|
||||
if (localmemory.includes(psa._id) && (psa.sticky ?? false) === false)
|
||||
return;
|
||||
Notifications.addBanner(
|
||||
psa.message,
|
||||
psa.level,
|
||||
|
|
Loading…
Reference in a new issue