updateMyProcesses on init of the router
This commit is contained in:
parent
8d267f5b12
commit
5a94888a78
@ -146,6 +146,11 @@ export async function init(): Promise<void> {
|
||||
}
|
||||
await services.restoreProcessesFromDB();
|
||||
await services.restoreSecretsFromDB();
|
||||
setTimeout(async () => {
|
||||
const myProcesses = await services.getMyProcesses();
|
||||
const db = await Database.getInstance();
|
||||
await db.updateMyProcesses(myProcesses);
|
||||
}, 200);
|
||||
|
||||
if (services.isPaired()) {
|
||||
await navigate('process');
|
||||
|
Loading…
x
Reference in New Issue
Block a user