Skip to content

Commit

Permalink
readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkim-det committed Oct 2, 2024
1 parent acec421 commit 0fa8e1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webui/react/src/components/ConfigPolicies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ const ConfigPoliciesTab: React.FC<TabProps> = ({ workspaceId, type }: TabProps)
<CodeEditor
file={initialConfigPoliciesYAML}
files={[{ key: type, title: `${type}-config-policies.yaml` }]}
readonly={!canModifyWorkspaceConfigPolicies}
onError={(error) => {
handleError(error);
}}
Expand Down

0 comments on commit 0fa8e1b

Please sign in to comment.