mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-29 03:13:45 +01:00
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:
commit
e8f88d8a13
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user