diff --git a/packages/bbui/src/Table/Table.svelte b/packages/bbui/src/Table/Table.svelte index 19accc5120..b8d65e243f 100644 --- a/packages/bbui/src/Table/Table.svelte +++ b/packages/bbui/src/Table/Table.svelte @@ -153,53 +153,55 @@ class="container">
- - - {#if showEditColumn} - - {/if} - {#each fields as field} - + + {#if showEditColumn} + - {/each} - - + + {/if} + {#each fields as field} + + {/each} + + + {/if} {#if sortedRows?.length} {#each sortedRows as row, idx}
-
- {editColumnTitle || ''} -
-
sortBy(field)}> -
-
- {schema[field]?.displayName || schema[field]?.name} + {#if sortedRows?.length} +
+
+ {editColumnTitle || ''}
- {#if schema[field]?.autocolumn} - - - - {/if} - {#if sortColumn === field} - - {/if} - {#if allowEditColumns && schema[field]?.editable !== false} - editColumn(e, field)}> - - - {/if} - -
sortBy(field)}> +
+
+ {schema[field]?.displayName || schema[field]?.name} +
+ {#if schema[field]?.autocolumn} + + + + {/if} + {#if sortColumn === field} + + {/if} + {#if allowEditColumns && schema[field]?.editable !== false} + editColumn(e, field)}> + + + {/if} +
+