mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-22 07:53:34 +01:00
fix (#680): fixed defined non-string variables to be displayed correctly in code editor
This commit is contained in:
parent
fa8ec4267f
commit
745cb85f95
@ -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