diff --git a/src/views/ContactEditView.vue b/src/views/ContactEditView.vue index 51687b5b..a3ec73ce 100644 --- a/src/views/ContactEditView.vue +++ b/src/views/ContactEditView.vue @@ -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(); } } diff --git a/src/views/DIDView.vue b/src/views/DIDView.vue index f6acf31c..8d67961c 100644 --- a/src/views/DIDView.vue +++ b/src/views/DIDView.vue @@ -12,20 +12,20 @@ - - + - - + @@ -476,7 +476,7 @@ export default class DIDView extends Vue { * Navigation helper methods */ goBack() { - this.$router.go(-1); + this.$router.back(); } /**