feat: show error if paginationSetting emppty
This commit is contained in:
@@ -150,7 +150,9 @@ export const RightSidePanel = () => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (['clickNext', 'clickLoadMore'].includes(selectedPaginationSetting)) {
|
if (['clickNext', 'clickLoadMore'].includes(selectedPaginationSetting)) {
|
||||||
notify('error', 'Please select the pagination element first.');
|
if (selectedPaginationSetting === '') {
|
||||||
|
notify('error', 'Please select the pagination element first.');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
stopCaptureAndEmitGetListSettings();
|
stopCaptureAndEmitGetListSettings();
|
||||||
setShowPaginationOptions(false);
|
setShowPaginationOptions(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user