[Fix] Read only users should not be able to open a Relation picker (#10666)
## Context ActivityTargetsInlineCell was not using the useIsFieldValueReadOnly hook but a dedicated prop instead. To align with the rest of the implementation I've updated that part of the code however we still want the table/kanban views to always be in read-only mode regardless of the hook logic so I've updated the hook to take the ContextStoreViewType into account.
This commit is contained in:
@ -134,7 +134,6 @@ export const TaskRow = ({ task }: { task: Task }) => {
|
||||
activity={task}
|
||||
showLabel={false}
|
||||
maxWidth={200}
|
||||
readonly
|
||||
/>
|
||||
</TaskTargetsContextProvider>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user