face: fix back button on merge (fix #949)

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/953/head
Varun Patil 2023-12-02 21:12:24 -08:00
parent ee0a52d305
commit c1a556f235
1 changed files with 2 additions and 2 deletions

View File

@ -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);