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