Merge pull request #13247 from ToolJet/fix/query-breaking

Fixed query breaking due to nested proxy
This commit is contained in:
Johnson Cherian 2025-07-09 00:15:59 +05:30 committed by GitHub
commit a6104f6b79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1015,8 +1015,6 @@ export const createQueryPanelSlice = (set, get) => ({
},
createProxy: (obj, path = '') => {
const { queryPanel } = get();
const { createProxy } = queryPanel;
return new Proxy(obj, {
get(target, prop) {
@ -1027,7 +1025,7 @@ export const createQueryPanelSlice = (set, get) => ({
}
const value = target[prop];
return typeof value === 'object' && value !== null ? createProxy(value, fullPath) : value;
return value;
},
});
},