diff --git a/frontend/src/pages/org/dashboard.ts b/frontend/src/pages/org/dashboard.ts index 81806ec4..6688dcb4 100644 --- a/frontend/src/pages/org/dashboard.ts +++ b/frontend/src/pages/org/dashboard.ts @@ -395,8 +395,8 @@ export class Dashboard extends LiteElement { } let usageSecondsAllTypes = 0; - if (this.org.crawlExecSeconds) { - const actualUsage = this.org.crawlExecSeconds[currentPeriod]; + if (this.org.monthlyExecSeconds) { + const actualUsage = this.org.monthlyExecSeconds[currentPeriod]; if (actualUsage) { usageSecondsAllTypes = actualUsage; } diff --git a/frontend/src/types/org.ts b/frontend/src/types/org.ts index 6defe7f2..1a7d3b48 100644 --- a/frontend/src/types/org.ts +++ b/frontend/src/types/org.ts @@ -39,7 +39,9 @@ export type OrgData = { bytesStoredUploads: number; bytesStoredProfiles: number; usage: { [key: YearMonth]: number } | null; + /* Actual total time used, including time to stop the crawl, gifted, and extra time */ crawlExecSeconds?: { [key: YearMonth]: number }; + /* Total time within the monthly time quota */ monthlyExecSeconds?: { [key: YearMonth]: number }; extraExecSeconds?: { [key: YearMonth]: number }; giftedExecSeconds?: { [key: YearMonth]: number };