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
|
// Go to new face
|
||||||
if (failures === 0) {
|
if (failures === 0) {
|
||||||
this.$router.replace({
|
await this.close();
|
||||||
|
await this.$router.replace({
|
||||||
name: 'recognize',
|
name: 'recognize',
|
||||||
params: { user: face.user_id, name: newName },
|
params: { user: face.user_id, name: newName },
|
||||||
});
|
});
|
||||||
this.close();
|
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|
Loading…
Reference in New Issue