From a44f7b7dc089776a7817cf077b3f3ae3db7fc22e Mon Sep 17 00:00:00 2001 From: vnugent Date: Sun, 21 Jan 2024 21:57:54 -0500 Subject: configure ci, patch totp, and bookmarks context --- front-end/src/components/Bookmarks.vue | 6 +++--- front-end/src/components/Settings/TotpSettings.vue | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'front-end/src') diff --git a/front-end/src/components/Bookmarks.vue b/front-end/src/components/Bookmarks.vue index 7aa3eb0..2a5a6d3 100644 --- a/front-end/src/components/Bookmarks.vue +++ b/front-end/src/components/Bookmarks.vue @@ -286,12 +286,12 @@ const upload = (() => { //update the progress bar progressPercent.value = Math.round((i+1) / chunks.length * 100); - - //refresh the bookmarks - store.bookmarks.refresh(); } }) + //refresh the bookmarks + store.bookmarks.refresh(); + //Force set progress once complete regardless of errors progressPercent.value = 100; progress.value.push('Upload complete'); diff --git a/front-end/src/components/Settings/TotpSettings.vue b/front-end/src/components/Settings/TotpSettings.vue index cc8642f..1d79914 100644 --- a/front-end/src/components/Settings/TotpSettings.vue +++ b/front-end/src/components/Settings/TotpSettings.vue @@ -71,6 +71,9 @@ const addOrUpdate = async () => { newConfig.secret = base32Encode(decSecret, 'RFC3548', { padding: false }) set(newTotpConfig, newConfig); + + //refresh config + store.mfaRefreshMethods(); }) } @@ -110,7 +113,7 @@ const onVerifyOtp = async (code: string) => { > -
+
-- cgit