Skip to content

Commit

Permalink
Suggest retry when loading statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
majamassarini committed May 6, 2024
1 parent 996ee8c commit 160bf3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion frontend/src/app/Usage/UsageInterval.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ const UsageInterval: React.FC<UsageIntervalProps> = (props) => {
<Card>
<CardBody>
<Title headingLevel="h1" size="lg">
Not Found.
{!data
? "Data is loading, try again in few minutes."
: "Not Found."}
</Title>
</CardBody>
</Card>
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/app/Usage/UsageList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ const UsageList: React.FC<UsageListProps> = (props) => {
<Card>
<CardBody>
<Title headingLevel="h1" size="lg">
Not Found.
{!data
? "Data is loading, try again in few minutes."
: "Not Found."}
</Title>
</CardBody>
</Card>
Expand Down

0 comments on commit 160bf3a

Please sign in to comment.