mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
don't show CodeEditor control help text in readonly mode
This commit is contained in:
parent
6b2cee2f69
commit
c2a2bf39d5
@ -163,7 +163,7 @@ function CodeEditor({
|
||||
ref={editor}
|
||||
/>
|
||||
</FocusWrapper>
|
||||
{isKeyboardFocused && (
|
||||
{isKeyboardFocused && !readOnly && (
|
||||
<div
|
||||
className="pf-c-form__helper-text keyboard-help-text"
|
||||
aria-live="polite"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user