fix (#680): fixed defined non-string variables to be displayed correctly in code editor

This commit is contained in:
Martin Sefcik 2023-10-30 23:43:44 +01:00
parent fa8ec4267f
commit 745cb85f95

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) => {