face-edit: fix back button (fix #994)
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/1010/head
parent
032397384b
commit
37881b36b4
|
@ -93,12 +93,11 @@ export default defineComponent({
|
||||||
await dav.faceRecognitionRenamePerson(this.name, this.input);
|
await dav.faceRecognitionRenamePerson(this.name, this.input);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$router.replace({
|
await this.close();
|
||||||
|
await this.$router.replace({
|
||||||
name: this.$route.name as string,
|
name: this.$route.name as string,
|
||||||
params: { user: this.user, name: this.input },
|
params: { user: this.user, name: this.input },
|
||||||
});
|
});
|
||||||
|
|
||||||
this.close();
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
showError(
|
showError(
|
||||||
|
|
Loading…
Reference in New Issue