fix settings reset

- force reset by deleting local storage state and reloading the window
- the default reset functionality does not seem to work due to the persistence
This commit is contained in:
jeffvli
2026-01-17 01:53:08 -08:00
parent 18d56f32cf
commit 85a7df29db
3 changed files with 9 additions and 65 deletions
@@ -61,7 +61,8 @@ const DefaultRowIndexColumn = (props: ItemTableListInnerColumn) => {
icon="arrowDownS"
iconProps={{ color: 'muted', size: 'md' }}
onClick={(e) => {
const item = (props.getRowItem?.(rowIndex) ?? data[rowIndex]) as ItemListItem;
const item = (props.getRowItem?.(rowIndex) ??
data[rowIndex]) as ItemListItem;
const rowId = internalState.extractRowId(item);
const index = rowId ? internalState.findItemIndex(rowId) : -1;
controls.onExpand?.({