I'm still getting Object.keys called on non-object from here.
wtf
This commit is contained in:
parent
ff65a27034
commit
fb699eac64
@ -59,10 +59,8 @@ class DataBoard
|
|||||||
for boardID, val of @data.boards
|
for boardID, val of @data.boards
|
||||||
# XXX tmp fix for users that had the `null`
|
# XXX tmp fix for users that had the `null`
|
||||||
# value for a board with the Unread features:
|
# value for a board with the Unread features:
|
||||||
unless val
|
@data.boards[boardID] or= {}
|
||||||
delete @data.boards[boardID]
|
@deleteIfEmpty {boardID}
|
||||||
else
|
|
||||||
@deleteIfEmpty {boardID}
|
|
||||||
|
|
||||||
now = Date.now()
|
now = Date.now()
|
||||||
if (@data.lastChecked or 0) < now - 2 * $.HOUR
|
if (@data.lastChecked or 0) < now - 2 * $.HOUR
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user