working basic flow
This commit is contained in:
@ -12,6 +12,13 @@
|
||||
|
||||
try {
|
||||
await invoke('unlock', {passphrase});
|
||||
appState.credentialStatus = 'unlocked';
|
||||
if (appState.currentRequest) {
|
||||
dispatch('navigate', {target: 'ShowApproved'});
|
||||
}
|
||||
else {
|
||||
dispatch('navigate', {target: 'Home'});
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
console.log('Unlock error:', e);
|
||||
|
Reference in New Issue
Block a user