make view list disabled for readonly mode

This commit is contained in:
redhoyasa 2022-10-31 14:52:47 +07:00
parent 3df9b42941
commit 820cae6725

View file

@ -279,6 +279,7 @@ const ViewMenu = (props: Props) => {
name={view.title}
icon={iconForViewType(view.fields.viewType)}
onClick={handleViewClick}
disabled={props.readonly}
/>))}
</div>
<BoardPermissionGate permissions={[Permission.ManageBoardProperties]}>