docs: paination
This commit is contained in:
@@ -116,7 +116,7 @@ export const BrowserWindow = () => {
|
|||||||
if (listSelector) {
|
if (listSelector) {
|
||||||
socket?.emit('listSelector', { selector: listSelector });
|
socket?.emit('listSelector', { selector: listSelector });
|
||||||
if (paginationMode) {
|
if (paginationMode) {
|
||||||
// Pagination mode: only set highlighterData if type is not empty, 'scrollDown', or 'scrollUp'
|
// Pagination mode: only set highlighterData if type is not empty, 'none', 'scrollDown', or 'scrollUp'
|
||||||
if (paginationType !== '' && paginationType !== 'scrollDown' && paginationType !== 'scrollUp' && paginationType !== 'none') {
|
if (paginationType !== '' && paginationType !== 'scrollDown' && paginationType !== 'scrollUp' && paginationType !== 'none') {
|
||||||
setHighlighterData(data);
|
setHighlighterData(data);
|
||||||
} else {
|
} else {
|
||||||
@@ -227,6 +227,7 @@ export const BrowserWindow = () => {
|
|||||||
...prevFields,
|
...prevFields,
|
||||||
[newField.label]: newField
|
[newField.label]: newField
|
||||||
};
|
};
|
||||||
|
console.log(updatedFields)
|
||||||
return updatedFields;
|
return updatedFields;
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -286,6 +287,8 @@ export const BrowserWindow = () => {
|
|||||||
...prevFields,
|
...prevFields,
|
||||||
[newField.label]: newField
|
[newField.label]: newField
|
||||||
};
|
};
|
||||||
|
console.log(updatedFields)
|
||||||
|
|
||||||
return updatedFields;
|
return updatedFields;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user