show approval errors in approval view

This commit is contained in:
2023-05-01 16:53:24 -07:00
parent a75f34865e
commit 760987f09b
5 changed files with 88 additions and 68 deletions

View File

@ -10,6 +10,7 @@ export let appState = writable({
credentialStatus: 'locked',
});
export async function acceptRequest() {
let req = await get(appState).pendingRequests.get();
appState.update($appState => {
@ -20,6 +21,7 @@ export async function acceptRequest() {
navigate('Approve');
}
export function completeRequest() {
appState.update($appState => {
$appState.currentRequest = null;