Skip to content

Commit 287f477

Browse files
committed
comment
1 parent 8ac7a0b commit 287f477

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/components/data-table/row-viewer-panel/use-panel-ownership.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ export function usePanelOwnership(
3535

3636
const isPanelOpen = panelOwner === panelId && isContextAwarePanelOpen;
3737

38-
// In cell-aware mode, update panel owner when cell is focused
39-
// Only set panel owner if no other table in this cell is currently the owner
4038
const thisCellIsFocused = lastFocusedCellId === cellId;
4139
const currentOwnerIsInThisCell =
4240
panelOwner && isPanelOwner(panelOwner, cellId);
4341

42+
// In cell-aware mode, update panel owner when cell is focused
43+
// Only set panel owner if no other table in this cell is currently the owner
4444
if (
4545
isPanelCellAware &&
4646
thisCellIsFocused &&

0 commit comments

Comments
 (0)