From 6c28d3f52248db33844fa671c23316cd59841a27 Mon Sep 17 00:00:00 2001 From: Shaurya Sharma Date: Tue, 8 Jul 2025 12:09:16 +0530 Subject: [PATCH] Fixed query breaking due to nested proxy --- frontend/src/AppBuilder/_stores/slices/queryPanelSlice.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/AppBuilder/_stores/slices/queryPanelSlice.js b/frontend/src/AppBuilder/_stores/slices/queryPanelSlice.js index 903b548ca2..7a2cf6d495 100644 --- a/frontend/src/AppBuilder/_stores/slices/queryPanelSlice.js +++ b/frontend/src/AppBuilder/_stores/slices/queryPanelSlice.js @@ -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; }, }); },