Hide file size when crawl is running (#648)
This commit is contained in:
parent
85416e2ca2
commit
91e415fac2
@ -303,10 +303,12 @@ export class CrawlListItem extends LitElement {
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="detail">
|
||||
${this.safeRender(
|
||||
(crawl) => html`<sl-format-bytes
|
||||
value=${crawl.fileSize || 0}
|
||||
></sl-format-bytes>`
|
||||
${this.safeRender((crawl) =>
|
||||
isActive
|
||||
? html`<span class="unknownValue">${msg("In Progress")}</span>`
|
||||
: html`<sl-format-bytes
|
||||
value=${crawl.fileSize || 0}
|
||||
></sl-format-bytes>`
|
||||
)}
|
||||
</div>
|
||||
<div class="desc">
|
||||
|
Loading…
Reference in New Issue
Block a user