From c2a2bf39d5fbd99c0ebfa48570e08f240dab1abc Mon Sep 17 00:00:00 2001 From: "Keith J. Grant" Date: Tue, 9 Mar 2021 11:07:20 -0800 Subject: [PATCH] don't show CodeEditor control help text in readonly mode --- awx/ui_next/src/components/CodeEditor/CodeEditor.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui_next/src/components/CodeEditor/CodeEditor.jsx b/awx/ui_next/src/components/CodeEditor/CodeEditor.jsx index 4681a142c3..9ac4fb5331 100644 --- a/awx/ui_next/src/components/CodeEditor/CodeEditor.jsx +++ b/awx/ui_next/src/components/CodeEditor/CodeEditor.jsx @@ -163,7 +163,7 @@ function CodeEditor({ ref={editor} /> - {isKeyboardFocused && ( + {isKeyboardFocused && !readOnly && (