feat: set paginationType empty
This commit is contained in:
@@ -187,7 +187,7 @@ export const BrowserWindow = () => {
|
||||
if (paginationMode && getList) {
|
||||
// Set the pagination selector
|
||||
const paginationType = 'clickNext'; // You can get this from user selection or UI
|
||||
addListStep(listSelector!, fields, currentListId || 0, { type: paginationType, selector: highlighterData.selector });
|
||||
addListStep(listSelector!, fields, currentListId || 0, { type: '', selector: highlighterData.selector });
|
||||
console.log(
|
||||
`Pagination mode: ${paginationType} with selector: ${highlighterData.selector}`
|
||||
);
|
||||
@@ -221,7 +221,7 @@ export const BrowserWindow = () => {
|
||||
}));
|
||||
|
||||
if (listSelector) {
|
||||
addListStep(listSelector, { ...fields, [newField.label]: newField }, currentListId, { type: 'clickNext', selector: highlighterData.selector });
|
||||
addListStep(listSelector, { ...fields, [newField.label]: newField }, currentListId, { type: '', selector: highlighterData.selector });
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user