refactor: fix the 'back' links to work consistently, so contact pages can be included in other flows

This commit is contained in:
2025-11-03 19:06:01 -07:00
parent 1bb3f52a30
commit 73806e78bc
2 changed files with 8 additions and 10 deletions

View File

@@ -346,9 +346,7 @@ export default class ContactEditView extends Vue {
// Notify success and redirect
this.notify.success(NOTIFY_CONTACT_SAVED.message, TIMEOUTS.STANDARD);
(this.$router as Router).push({
path: "/did/" + encodeURIComponent(this.contact?.did || ""),
});
this.$router.back();
}
}
</script>