Skip to content

Commit

Permalink
face-edit: fix back button (fix #994)
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <radialapps@gmail.com>
  • Loading branch information
pulsejet committed Jan 10, 2024
1 parent 0323973 commit 37881b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/modal/FaceEditModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,11 @@ export default defineComponent({
await dav.faceRecognitionRenamePerson(this.name, this.input);
}
this.$router.replace({
await this.close();
await this.$router.replace({
name: this.$route.name as string,
params: { user: this.user, name: this.input },
});
this.close();
} catch (error) {
console.log(error);
showError(
Expand Down

0 comments on commit 37881b3

Please sign in to comment.