Skip to content

Commit

Permalink
Merge pull request #726 from webitel/fix/create-flow-window
Browse files Browse the repository at this point in the history
fix: creating a new scheme opens in a new tab [WTEL-4773]
  • Loading branch information
VladimirBeria authored Jul 23, 2024
2 parents d0488a2 + 34e4eae commit 8ae831c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,15 @@ export default {
value: false,
});
}
this.$router.push({
const route = this.$router.resolve({
name: `${RouteNames.FLOW}-new`,
query: {
editor: this.selected.value,
type: this.type.value,
},
});
window.open(route.href, '_blank');
this.close();
},
close() {
this.$emit('close');
Expand Down

0 comments on commit 8ae831c

Please sign in to comment.