face: fix back button on merge (fix #949)
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/953/head
parent
ee0a52d305
commit
c1a556f235
|
@ -137,11 +137,11 @@ export default defineComponent({
|
|||
|
||||
// Go to new face
|
||||
if (failures === 0) {
|
||||
this.$router.replace({
|
||||
await this.close();
|
||||
await this.$router.replace({
|
||||
name: 'recognize',
|
||||
params: { user: face.user_id, name: newName },
|
||||
});
|
||||
this.close();
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
|
|
Loading…
Reference in New Issue