Merge pull request #832 from martinsefcik/bug/680

fix (#680): fixed non-string variables to be displayed correctly in code editor
This commit is contained in:
Anoop M D 2023-11-01 14:56:46 +05:30 committed by GitHub
commit e8f88d8a13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ if (!SERVER_RENDERED) {
const pathFoundInVariables = (path, obj) => {
const value = get(obj, path);
return isString(value);
return value !== undefined;
};
export const defineCodeMirrorBrunoVariablesMode = (variables, mode) => {