From 41626009508255b1da5739c33cb943d3036cddaf Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 24 Apr 2023 16:12:25 +0100 Subject: [PATCH] Remove commented out code --- .../frontend-core/src/components/grid/stores/ui.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/packages/frontend-core/src/components/grid/stores/ui.js b/packages/frontend-core/src/components/grid/stores/ui.js index da5b370177..0636400d59 100644 --- a/packages/frontend-core/src/components/grid/stores/ui.js +++ b/packages/frontend-core/src/components/grid/stores/ui.js @@ -145,20 +145,6 @@ export const initialise = context => { lastFocusedRowId = id }) - // Reset selected rows when selected cell changes - // focusedCellId.subscribe(id => { - // if (id) { - // selectedRows.set({}) - // } - // }) - - // Unset selected cell when rows are selected - // selectedRows.subscribe(rows => { - // if (Object.keys(rows || {}).length) { - // focusedCellId.set(null) - // } - // }) - // Remove hovered row when a cell is selected focusedCellId.subscribe(cell => { if (cell && get(hoveredRowId)) {