We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9342d5a commit 9554206Copy full SHA for 9554206
plugins/view-resources/src/components/Table.svelte
@@ -61,6 +61,7 @@
61
) {
62
const c = ++qindex
63
loading = true
64
+ objects = []
65
q.query(
66
_class,
67
query,
@@ -123,9 +124,7 @@
123
124
</script>
125
126
{#await buildModel({ client, _class, keys: config, options })}
- {#if !loading}
127
- <Loading />
128
- {/if}
+ <Loading />
129
{:then model}
130
<table class="antiTable" class:metaColumn={enableChecking || showNotification} class:highlightRows>
131
<thead class="scroller-thead">
@@ -167,7 +166,7 @@
167
166
{/each}
168
</tr>
169
</thead>
170
- {#if objects}
+ {#if objects.length}
171
<tbody>
172
{#each objects as object, row (object._id)}
173
<tr class="antiTable-body__row" class:checking={checked.has(object._id)} class:fixed={row === selectRow}>
0 commit comments