feat: set current selector as pagination selector if in pagination mode

This commit is contained in:
karishmas6
2024-09-06 21:02:31 +05:30
parent c6539b9c9c
commit af49c9ef80

View File

@@ -185,8 +185,13 @@ export const BrowserWindow = () => {
}
}
if (paginationMode && getList) {
addListStep(listSelector!, fields, currentListId || 0, { type: '', selector: highlighterData.selector });
// if (paginationMode && getList) {
// addListStep(listSelector!, fields, currentListId || 0, { type: '', selector: highlighterData.selector });
// return;
// }
if (paginationMode && getList && !paginationSelector) {
setPaginationSelector(highlighterData.selector);
return;
}