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