From eb031cab5fb96594819f21d7f6d3f01891fa98cb Mon Sep 17 00:00:00 2001 From: redhoyasa Date: Fri, 9 Dec 2022 16:41:36 +0700 Subject: [PATCH] hide dropdown for readonly mode --- webapp/src/components/viewHeader/viewHeader.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/webapp/src/components/viewHeader/viewHeader.tsx b/webapp/src/components/viewHeader/viewHeader.tsx index 2b7957cb2..d8d5b4e1b 100644 --- a/webapp/src/components/viewHeader/viewHeader.tsx +++ b/webapp/src/components/viewHeader/viewHeader.tsx @@ -149,11 +149,8 @@ const ViewHeader = (props: Props) => { spellCheck={true} autoExpand={false} /> -
- + {!props.readonly && (
+ }/> { /> {showAddViewTourStep && } -
+
)} +