fix(editor): Fix workflow activation from the Workflows view (#4549)

🐛 Fixing a bug when activating workflow from workflows view
This commit is contained in:
Milorad FIlipović
2022-11-08 18:05:50 +01:00
committed by GitHub
parent 026fb50512
commit d2bec63cec
7 changed files with 16 additions and 8 deletions

View File

@@ -813,7 +813,7 @@ export default mixins(
this.workflowsStore.setWorkflowName({ newName: data.name, setStateDirty: false });
this.workflowsStore.setWorkflowSettings(data.settings || {});
this.workflowsStore.setWorkflowPinData(data.pinData || {});
this.workflowsStore.setWorkflowHash(data.hash || '');
this.workflowsStore.setWorkflowHash(data.hash);
const tags = (data.tags || []) as ITag[];
const tagIds = tags.map((tag) => tag.id);