Remove double 'no data' in empty tables

This commit is contained in:
Andrew Kingston 2020-10-02 16:48:01 +01:00
parent 8706561bd4
commit 27d41069cb
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@
{/if} {/if}
{#each columns as header, idx} {#each columns as header, idx}
<td class="no-border"> <td class="no-border">
{#if idx === 0}No data.{/if} {#if idx === 0 && !allowEditing}No data.{/if}
</td> </td>
{/each} {/each}
{/if} {/if}