king
2023-12-12 49f09cc6f8ff8c30a75ed1a9d6f510b69b73962a
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)
        }