shell tab

This commit is contained in:
Jan Prochazka
2021-03-11 14:37:40 +01:00
parent 913f89e970
commit cedb740fb0
7 changed files with 232 additions and 52 deletions

View File

@@ -47,13 +47,15 @@
}}
>
{#each columnList as col}
{#if col.component}
<svelte:component this={col.component} {...col.getProps(row)} />
{:else if col.formatter}
{col.formatter(row)}
{:else}
{row[col.fieldName]}
{/if}
<td>
{#if col.component}
<svelte:component this={col.component} {...col.getProps(row)} />
{:else if col.formatter}
{col.formatter(row)}
{:else}
{row[col.fieldName]}
{/if}
</td>
{/each}
</tr>
{/each}