feat: update paginationSelector in pagination mode

This commit is contained in:
karishmas6
2024-09-06 21:54:30 +05:30
parent 893d29b340
commit e9de537afb

View File

@@ -190,8 +190,10 @@ export const BrowserWindow = () => {
// return; // return;
// } // }
if (paginationMode && getList && !paginationSelector) { if (paginationMode && getList) {
setPaginationSelector(highlighterData.selector); setPaginationSelector(highlighterData.selector)
// In pagination mode, treat any selection as the pagination selector
addListStep(listSelector!, fields, currentListId || 0, { type: '', selector: paginationSelector });
return; return;
} }