mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Merge pull request #649 from ToolJet/bugfix/action-button-position-change-recompute
Recompute table columns whenever action button position is changed
This commit is contained in:
commit
c7393ac66a
1 changed files with 2 additions and 1 deletions
|
|
@ -487,7 +487,8 @@ export function Table({
|
|||
const columns = useMemo(
|
||||
() => [...leftActionsCellData, ...columnData, ...rightActionsCellData],
|
||||
[JSON.stringify(columnData),
|
||||
leftActionsCellData.length + rightActionsCellData.length,
|
||||
leftActionsCellData.length,
|
||||
rightActionsCellData.length,
|
||||
componentState.changeSet,
|
||||
JSON.stringify(component.definition.properties.columns)
|
||||
] // Hack: need to fix
|
||||
|
|
|
|||
Loading…
Reference in a new issue