feat: if !hasScrapeListAction then allow Capture List

This commit is contained in:
karishmas6
2024-10-08 18:25:21 +05:30
parent d4f3ff4e9c
commit 312ab45c9f

View File

@@ -336,7 +336,7 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
</SimpleBox>
<SidePanelHeader />
<Box display="flex" flexDirection="column" gap={2} style={{ margin: '15px' }}>
{!getText && !getScreenshot && !getList && <Button variant="contained" onClick={startGetList}>Capture List</Button>}
{!getText && !getScreenshot && !getList && !hasScrapeListAction && <Button variant="contained" onClick={startGetList}>Capture List</Button>}
{getList && (
<>
<Box display="flex" justifyContent="space-between" gap={2} style={{ margin: '15px' }}>