Update src/js/background/messageHandler.js
Co-authored-by: luke crouch <lcrouch@mozilla.com>
This commit is contained in:
committed by
GitHub
parent
85ce6375e5
commit
e296f438fa
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user