summaryrefslogtreecommitdiff
path: root/packages/demobank-ui/src/pages/DownloadStats.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/demobank-ui/src/pages/DownloadStats.tsx')
-rw-r--r--packages/demobank-ui/src/pages/DownloadStats.tsx19
1 files changed, 13 insertions, 6 deletions
diff --git a/packages/demobank-ui/src/pages/DownloadStats.tsx b/packages/demobank-ui/src/pages/DownloadStats.tsx
index 2a876d233..e53f1f4e2 100644
--- a/packages/demobank-ui/src/pages/DownloadStats.tsx
+++ b/packages/demobank-ui/src/pages/DownloadStats.tsx
@@ -269,7 +269,9 @@ export function DownloadStats({ routeCancel }: Props): VNode {
class="text-sm text-black font-medium leading-6 "
id="availability-label"
>
- <i18n.Translate>Add previous metric for compare</i18n.Translate>
+ <i18n.Translate>
+ Add previous metric for compare
+ </i18n.Translate>
</span>
</span>
<button
@@ -376,7 +378,10 @@ export function DownloadStats({ routeCancel }: Props): VNode {
}}
>
<span class="absolute inset-0 flex items-center justify-center text-xs font-semibold text-white">
- <i18n.Translate>downloading...{" "}{Math.round((lastStep.step / lastStep.total) * 100)}</i18n.Translate>
+ <i18n.Translate>
+ downloading...{" "}
+ {Math.round((lastStep.step / lastStep.total) * 100)}
+ </i18n.Translate>
</span>
</div>
</div>
@@ -392,7 +397,9 @@ export function DownloadStats({ routeCancel }: Props): VNode {
download={"bank-stats.csv"}
>
<Attention title={i18n.str`Download completed`}>
- <i18n.Translate>Click here to save the file in your computer.</i18n.Translate>
+ <i18n.Translate>
+ Click here to save the file in your computer.
+ </i18n.Translate>
</Attention>
</a>
)}
@@ -443,9 +450,9 @@ async function fetchAllStatus(
// await delay()
const previous = options.compareWithPrevious
? await api.getMonitor(token, {
- timeframe: frame.timeframe,
- which: frame.moment.previous,
- })
+ timeframe: frame.timeframe,
+ which: frame.moment.previous,
+ })
: undefined;
if (previous && previous.type === "fail" && options.endOnFirstFail) {