Skip to content

Commit

Permalink
fix(core): fixed resources page timer logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tabarra committed Oct 24, 2023
1 parent 83ef90e commit 84caf42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/webroutes/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default async function Resources(ctx) {
const tList = new Promise((resolve, reject) => {
tListTimer = setInterval(() => {
if (
globals.resourcesManager.resourceReport !== null
globals.resourcesManager.resourceReport
&& (new Date() - globals.resourcesManager.resourceReport.ts) <= 1000
&& Array.isArray(globals.resourcesManager.resourceReport.resources)
) {
Expand Down

0 comments on commit 84caf42

Please sign in to comment.