fix(data-table): apply custom widths to empty columns (#1314)

Fixes #1313
This commit is contained in:
metonym 2022-05-25 18:50:55 -07:00 committed by GitHub
commit 31dacd53ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -333,7 +333,7 @@
{/if}
{#each headers as header, i (header.key)}
{#if header.empty}
<th scope="col"></th>
<th scope="col" style="{formatHeaderWidth(header)}"></th>
{:else}
<TableHeader
id="{header.key}"