From 79b8ad9952dbc74580f43a8f53cc1619a87d3e48 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sun, 4 Aug 2024 03:41:39 +0530 Subject: [PATCH] feat: show highlighter if !showAttributeModal --- src/components/molecules/ActionSettings.tsx | 2 ++ src/components/organisms/BrowserWindow.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/molecules/ActionSettings.tsx b/src/components/molecules/ActionSettings.tsx index 4a994d2b..dcf2ba5c 100644 --- a/src/components/molecules/ActionSettings.tsx +++ b/src/components/molecules/ActionSettings.tsx @@ -20,6 +20,8 @@ export const ActionSettings = ({ action }: ActionSettingsProps) => { return ; case 'scroll': return ; + case 'scrape': + return ; case 'scrapeSchema': return ; default: diff --git a/src/components/organisms/BrowserWindow.tsx b/src/components/organisms/BrowserWindow.tsx index 070dd17c..df7fe5cf 100644 --- a/src/components/organisms/BrowserWindow.tsx +++ b/src/components/organisms/BrowserWindow.tsx @@ -179,7 +179,7 @@ export const BrowserWindow = () => { ) : null } - {(getText === true && highlighterData?.rect != null && highlighterData?.rect.top != null) && canvasRef?.current ? + {(getText === true && !showAttributeModal && highlighterData?.rect != null && highlighterData?.rect.top != null) && canvasRef?.current ?