From 820cae6725a34ca813743436fc0727e3790eb8cc Mon Sep 17 00:00:00 2001 From: redhoyasa Date: Mon, 31 Oct 2022 14:52:47 +0700 Subject: [PATCH] make view list disabled for readonly mode --- webapp/src/components/viewMenu.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/src/components/viewMenu.tsx b/webapp/src/components/viewMenu.tsx index acb1dbf38..1d1536c35 100644 --- a/webapp/src/components/viewMenu.tsx +++ b/webapp/src/components/viewMenu.tsx @@ -279,6 +279,7 @@ const ViewMenu = (props: Props) => { name={view.title} icon={iconForViewType(view.fields.viewType)} onClick={handleViewClick} + disabled={props.readonly} />))}