Skip to content

Commit 63d0cdf

Browse files
committed
fix bug on missing
1 parent 991b43c commit 63d0cdf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

wfes-NominationNotify.user.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name WFES - Nomination Notify
33
// @namespace https://github.com/AlterTobi/WFES/
4-
// @version 0.3.0
4+
// @version 0.3.1
55
// @description show nomination status updates
66
// @author AlterTobi
77
// @match https://wayfarer.nianticlabs.com/*
@@ -197,9 +197,10 @@
197197
miss = historyDict[histID];
198198
if ((miss.status !== "MISSING")){
199199
miss.Dates.MISSING = today;
200+
miss.status = 'MISSING';
200201
createNotification(`${miss.title} is missing`);
201-
missingDict[histID] = miss;
202202
}
203+
missingDict[histID] = miss;
203204
}
204205
}
205206
return missingDict;

0 commit comments

Comments
 (0)