Skip to content

Commit

Permalink
Small optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
Heenawter committed Oct 29, 2024
1 parent fc249b2 commit 8491d85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/kbn-grid-layout/grid/grid_row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export const GridRow = forwardRef<
setIsCollapsed(newRowData.isCollapsed);
if (
!(
oldRowData.panelIds.length === newRowData.panelIds.length &&
oldRowData.panelIds.every((p) => newRowData.panelIds.includes(p)) &&
newRowData.panelIds.every((p) => oldRowData.panelIds.includes(p))
)
Expand Down

0 comments on commit 8491d85

Please sign in to comment.