Przeglądaj źródła

fix: sidebar hidden when edit block

Ahmad Kholid 3 lat temu
rodzic
commit
dcd0d7c9aa

+ 1 - 1
src/locales/zh/newtab.json

@@ -180,7 +180,7 @@
       },
       "restartWorkflow": {
         "for": "重新启动",
-        "times": "次数"
+        "times": "次数",
         "description": "工作流可以重启的最大次数"
       },
       "onError": {

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

@@ -759,6 +759,7 @@ function editBlock(data) {
   if (workflowData.active === 'shared') return;
 
   state.isEditBlock = true;
+  state.showSidebar = true;
   state.blockData = defu(data, tasks[data.id] || {});
 }
 function handleEditorDataChanged() {