diff --git a/webapp/src/components/viewHeader/viewHeader.tsx b/webapp/src/components/viewHeader/viewHeader.tsx index 95dc19652..2b7957cb2 100644 --- a/webapp/src/components/viewHeader/viewHeader.tsx +++ b/webapp/src/components/viewHeader/viewHeader.tsx @@ -150,7 +150,10 @@ const ViewHeader = (props: Props) => { autoExpand={false} /> <div> - <MenuWrapper label={intl.formatMessage({id: 'ViewHeader.view-menu', defaultMessage: 'View menu'})}> + <MenuWrapper + disabled={props.readonly} + label={intl.formatMessage({id: 'ViewHeader.view-menu', defaultMessage: 'View menu'})} + > <IconButton icon={<DropdownIcon/>}/> <ViewMenu board={board} diff --git a/webapp/src/components/viewMenu.tsx b/webapp/src/components/viewMenu.tsx index 1d1536c35..acb1dbf38 100644 --- a/webapp/src/components/viewMenu.tsx +++ b/webapp/src/components/viewMenu.tsx @@ -279,7 +279,6 @@ const ViewMenu = (props: Props) => { name={view.title} icon={iconForViewType(view.fields.viewType)} onClick={handleViewClick} - disabled={props.readonly} />))} </div> <BoardPermissionGate permissions={[Permission.ManageBoardProperties]}>