[ui] "?" instead of blank progress bar

feat/vaults
Tomáš Mládek 2022-02-19 17:03:18 +01:00
parent 99edcf2fd9
commit ea89e11738
No known key found for this signature in database
GPG Key ID: 65E225C8B3E2ED8A
1 changed files with 1 additions and 3 deletions

View File

@ -10,9 +10,7 @@
<div class="value" />
<div class="label">
<slot>
{#if value}
{Math.round(value)}%
{/if}
{value ? Math.round(value) : "?"}%
</slot>
</div>
</div>