mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-23 16:31:50 -05:00
fix codemirror in add host, add inventory, and workflow job details
This commit is contained in:
@@ -73,6 +73,9 @@ function atCodeMirrorController (
|
||||
return true;
|
||||
}
|
||||
|
||||
if (typeof str === 'undefined') {
|
||||
return '---';
|
||||
}
|
||||
if (typeof str !== 'string') {
|
||||
const yamlStr = jsyaml.safeDump(str);
|
||||
// jsyaml.safeDump doesn't process an empty object correctly
|
||||
|
||||
Reference in New Issue
Block a user