mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
Table loading fix (#1440)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
9342d5a5fe
commit
9554206e6f
@ -61,6 +61,7 @@
|
||||
) {
|
||||
const c = ++qindex
|
||||
loading = true
|
||||
objects = []
|
||||
q.query(
|
||||
_class,
|
||||
query,
|
||||
@ -123,9 +124,7 @@
|
||||
</script>
|
||||
|
||||
{#await buildModel({ client, _class, keys: config, options })}
|
||||
{#if !loading}
|
||||
<Loading />
|
||||
{/if}
|
||||
<Loading />
|
||||
{:then model}
|
||||
<table class="antiTable" class:metaColumn={enableChecking || showNotification} class:highlightRows>
|
||||
<thead class="scroller-thead">
|
||||
@ -167,7 +166,7 @@
|
||||
{/each}
|
||||
</tr>
|
||||
</thead>
|
||||
{#if objects}
|
||||
{#if objects.length}
|
||||
<tbody>
|
||||
{#each objects as object, row (object._id)}
|
||||
<tr class="antiTable-body__row" class:checking={checked.has(object._id)} class:fixed={row === selectRow}>
|
||||
|
Loading…
Reference in New Issue
Block a user