Use friendly name where possible when configuring column visibility

This commit is contained in:
Andrew Kingston 2023-04-25 09:23:16 +01:00
parent 8d21345d55
commit 01ada56686
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@
<div class="columns">
{#if $stickyColumn}
<Toggle disabled size="S" value={true} />
<span>{$stickyColumn.name}</span>
<span>{$stickyColumn.label}</span>
{/if}
{#each $columns as column}
<Toggle
@ -65,7 +65,7 @@
value={column.visible}
on:change={e => toggleVisibility(column, e.detail)}
/>
<span>{column.name}</span>
<span>{column.label}</span>
{/each}
</div>
<div class="buttons">