Browse Source

feat: allow dynamic data in execute workflow block global data

Ahmad Kholid 3 years ago
parent
commit
2c01eac494
2 changed files with 2 additions and 1 deletions
  1. 1 1
      src/newtab/pages/logs/[id].vue
  2. 1 0
      src/utils/reference-data.js

+ 1 - 1
src/newtab/pages/logs/[id].vue

@@ -194,7 +194,7 @@ onMounted(() => {
 });
 </script>
 <style>
-.logs-details .my-editor {
+.logs-details .cm-editor {
   max-height: calc(100vh - 12rem);
 }
 </style>

+ 1 - 0
src/utils/reference-data.js

@@ -49,6 +49,7 @@ export default function (block, data) {
     'fileName',
     'selector',
     'prefixText',
+    'globalData',
     'suffixText',
     'extraRowValue',
   ];