Update src/js/background/messageHandler.js

Co-authored-by: luke crouch <lcrouch@mozilla.com>
This commit is contained in:
Andrea Marchesini
2025-10-02 18:19:55 +02:00
committed by GitHub
parent 85ce6375e5
commit e296f438fa
+1 -1
View File
@@ -289,7 +289,7 @@ const messageHandler = {
return; return;
} }
// Check if already scheduled in the past; if so, do not show again. // Check if already shown in the past; if so, do not show again.
const { achievements } = await browser.storage.local.get({ achievements: [] }); const { achievements } = await browser.storage.local.get({ achievements: [] });
const existing = achievements.find(a => a.name === "survey"); const existing = achievements.find(a => a.name === "survey");
if (existing) { if (existing) {