Skip to content

Commit aa12498

Browse files
committed
fix loading check
1 parent 188c5d1 commit aa12498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/FSInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function FSInfo() {
1414
(a, b) => b.timestamp - a.timestamp,
1515
)[0]
1616
const isError = !!lastJob?.failedReason
17-
const isScanning = !isError && !lastJob?.returnvalue
17+
const isScanning = lastJob && !lastJob?.returnvalue && !lastJob?.failedReason
1818

1919
useJobsRevalidator(scanJobs as Job[])
2020

0 commit comments

Comments
 (0)