From fefcfd95f283955df229ad79efc302388adf8fa1 Mon Sep 17 00:00:00 2001 From: Rizky Date: Sun, 14 Apr 2024 12:41:35 +0700 Subject: [PATCH] fix scope --- app/web/src/nova/ed/panel/popup/script/scope/scope.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/web/src/nova/ed/panel/popup/script/scope/scope.tsx b/app/web/src/nova/ed/panel/popup/script/scope/scope.tsx index 3a10bc38..f3fc6663 100644 --- a/app/web/src/nova/ed/panel/popup/script/scope/scope.tsx +++ b/app/web/src/nova/ed/panel/popup/script/scope/scope.tsx @@ -88,6 +88,10 @@ export const declareScope = (p: PG, meta: IMeta, monaco: Monaco) => { const arg = { ...exports, params, + active: active, + _meta: metas, + _item: m.item, + _syncm: typeof syncronize !== "undefined" ? syncronize : undefined, }; const fn = new Function(