Fix primary display column not properly disabling certain menu options
This commit is contained in:
parent
dfd958a08e
commit
6d2c928e51
|
@ -161,7 +161,7 @@
|
||||||
<MenuItem
|
<MenuItem
|
||||||
icon="Label"
|
icon="Label"
|
||||||
on:click={makeDisplayColumn}
|
on:click={makeDisplayColumn}
|
||||||
disabled={column.idx === "sticky" ||
|
disabled={idx === "sticky" ||
|
||||||
!$config.allowEditColumns ||
|
!$config.allowEditColumns ||
|
||||||
bannedDisplayColumnTypes.includes(column.schema.type)}
|
bannedDisplayColumnTypes.includes(column.schema.type)}
|
||||||
>
|
>
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
</SheetCell>
|
</SheetCell>
|
||||||
|
|
||||||
{#if $stickyColumn}
|
{#if $stickyColumn}
|
||||||
<HeaderCell column={$stickyColumn} orderable={false} />
|
<HeaderCell column={$stickyColumn} orderable={false} idx="sticky" />
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue