Respect the allowExpandRows flag in when considering if rows can be edited in modals

This commit is contained in:
Andrew Kingston 2023-06-20 07:55:46 +01:00
parent 164bacf783
commit 901ba53630
1 changed files with 3 additions and 1 deletions

View File

@ -72,7 +72,9 @@
</MenuItem>
<MenuItem
icon="Maximize"
disabled={isNewRow || !$config.allowEditRows}
disabled={isNewRow ||
!$config.allowEditRows ||
!$config.allowExpandRows}
on:click={() => dispatch("edit-row", $focusedRow)}
on:click={menu.actions.close}
>