fix expiry state timestamp not updating

master
Semisol 2021-10-09 11:26:03 +03:00
parent 9135d17629
commit dc858917a7
Signed by: Semisol
GPG Key ID: D5D485E3231A5764
1 changed files with 4 additions and 0 deletions

View File

@ -342,6 +342,10 @@ setInterval(() => {
log("Replaced original state with transient state")
state.expiryState = temp.expiryState
temp.expiryState = null
if (temp.isRefreshAll) {
temp.isRefreshAll = false
state.expiryLastUpdated = Date.now()
}
saveState()
}
}