fix expiry state timestamp not updating
parent
9135d17629
commit
dc858917a7
4
index.js
4
index.js
|
@ -342,6 +342,10 @@ setInterval(() => {
|
||||||
log("Replaced original state with transient state")
|
log("Replaced original state with transient state")
|
||||||
state.expiryState = temp.expiryState
|
state.expiryState = temp.expiryState
|
||||||
temp.expiryState = null
|
temp.expiryState = null
|
||||||
|
if (temp.isRefreshAll) {
|
||||||
|
temp.isRefreshAll = false
|
||||||
|
state.expiryLastUpdated = Date.now()
|
||||||
|
}
|
||||||
saveState()
|
saveState()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue