Use the toMainView function

This commit is contained in:
Rodolphe Bréard 2023-07-30 19:16:00 +02:00
parent f942388a13
commit 20dbbda08b

View file

@ -45,7 +45,7 @@ const addAccount = () => {
key: key,
};
accounts.value.push(newAccount);
return router.push('/');
return toMainView();
} catch (e) {
console.log(e);
}