king
2024-02-23 1b9fd7b9fd872a3f08c7f43bd6e5654225b585c2
src/tabviews/custom/components/code/sand-box/index.jsx
@@ -318,8 +318,8 @@
      if (js) {
        try {
          // eslint-disable-next-line
          let evalfunc = eval('(true && function (data, result, Api, notification) {' + js + '})')
          evalfunc(data, result, Api, notification)
          let evalfunc = eval('(true && function (data, result, Api, notification, systemType) {' + js + '})')
          evalfunc(data, result, Api, notification, window.GLOB.systemType)
        } catch (e) {
          console.warn(e)
        }