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:
parent
3df9b42941
commit
820cae6725
@ -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]}>
|
||||
|
Loading…
Reference in New Issue
Block a user