fix creating workflow from document in accompanying course

This commit is contained in:
2022-02-03 13:16:13 +01:00
parent 9a9ed64298
commit 3f83c323be
2 changed files with 8 additions and 7 deletions

View File

@@ -47,7 +47,8 @@ export default {
console.log('goToGenerateWorkflow', event, workflowName);
if (!this.$props.preventDefaultMoveToGenerate) {
event.target.click();
console.log('to go generate');
window.location.assign(this.makeLink(workflowName));
}
this.$emit('goToGenerateWorkflow', {event, workflowName, link: this.makeLink(workflowName)});