1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-27 08:31:20 +02:00

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]}>