fix: format
This commit is contained in:
@@ -147,7 +147,7 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
|
|||||||
updateLimitType(''); // Reset limit type
|
updateLimitType(''); // Reset limit type
|
||||||
updateCustomLimit(''); // Reset custom limit value
|
updateCustomLimit(''); // Reset custom limit value
|
||||||
}, [updatePaginationType, updateLimitType, updateCustomLimit]);
|
}, [updatePaginationType, updateLimitType, updateCustomLimit]);
|
||||||
|
|
||||||
|
|
||||||
const handleStopGetList = useCallback(() => {
|
const handleStopGetList = useCallback(() => {
|
||||||
stopGetList();
|
stopGetList();
|
||||||
@@ -221,7 +221,7 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}, [captureStage, paginationType, limitType, customLimit, startPaginationMode, stopPaginationMode, startLimitMode, stopLimitMode, notify, stopCaptureAndEmitGetListSettings, getListSettingsObject]);
|
}, [captureStage, paginationType, limitType, customLimit, startPaginationMode, stopPaginationMode, startLimitMode, stopLimitMode, notify, stopCaptureAndEmitGetListSettings, getListSettingsObject]);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const handlePaginationSettingSelect = (option: PaginationType) => {
|
const handlePaginationSettingSelect = (option: PaginationType) => {
|
||||||
@@ -259,8 +259,8 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
|
|||||||
<Box display="flex" justifyContent="space-between" gap={2} style={{ margin: '15px' }}>
|
<Box display="flex" justifyContent="space-between" gap={2} style={{ margin: '15px' }}>
|
||||||
<Button variant="outlined" onClick={handleConfirmListCapture}>
|
<Button variant="outlined" onClick={handleConfirmListCapture}>
|
||||||
{captureStage === 'initial' ? 'Start Capture' :
|
{captureStage === 'initial' ? 'Start Capture' :
|
||||||
captureStage === 'pagination' ? 'Confirm Pagination' :
|
captureStage === 'pagination' ? 'Confirm Pagination' :
|
||||||
captureStage === 'limit' ? 'Confirm Limit' : 'Finish Capture'}
|
captureStage === 'limit' ? 'Confirm Limit' : 'Finish Capture'}
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant="outlined" color="error" onClick={handleStopGetList}>Discard</Button>
|
<Button variant="outlined" color="error" onClick={handleStopGetList}>Discard</Button>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in New Issue
Block a user