Hide file size when crawl is running (#648)

This commit is contained in:
sua yoo 2023-03-07 16:02:19 -08:00
parent 85416e2ca2
commit 91e415fac2
No known key found for this signature in database
GPG Key ID: 5AD1B4C02D4F0567

View File

@ -303,8 +303,10 @@ export class CrawlListItem extends LitElement {
</div> </div>
<div class="col"> <div class="col">
<div class="detail"> <div class="detail">
${this.safeRender( ${this.safeRender((crawl) =>
(crawl) => html`<sl-format-bytes isActive
? html`<span class="unknownValue">${msg("In Progress")}</span>`
: html`<sl-format-bytes
value=${crawl.fileSize || 0} value=${crawl.fileSize || 0}
></sl-format-bytes>` ></sl-format-bytes>`
)} )}