Skip to content

Commit

Permalink
disable editing header name when secure configured
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerTorres committed Dec 19, 2023
1 parent 779017c commit ec8a4ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/configEditor/HttpHeadersConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ const HttpHeaderEditor = (props: HttpHeaderEditorProps) => {
data-testid={selectors.headerNameInput}
width={40}
value={name}
disabled={isSecureConfigured}
placeholder={labels.headerNamePlaceholder}
onChange={(e: ChangeEvent<HTMLInputElement>) => setName(e.target.value)}
onBlur={() => onUpdate()}
Expand Down

0 comments on commit ec8a4ec

Please sign in to comment.