aboutsummaryrefslogtreecommitdiff
path: root/front-end
diff options
context:
space:
mode:
Diffstat (limited to 'front-end')
-rw-r--r--front-end/package-lock.json6
-rw-r--r--front-end/package.json2
-rw-r--r--front-end/src/components/Bookmarks.vue6
-rw-r--r--front-end/src/components/Settings/TotpSettings.vue5
4 files changed, 11 insertions, 8 deletions
diff --git a/front-end/package-lock.json b/front-end/package-lock.json
index 16bbb88..2752969 100644
--- a/front-end/package-lock.json
+++ b/front-end/package-lock.json
@@ -10,7 +10,7 @@
"license": "agpl3",
"dependencies": {
"@headlessui/vue": "^1.7.17",
- "@vnuge/vnlib.browser": "https://www.vaughnnugent.com/public/resources/software/builds/Plugins.Essentials/335659f2a3d412aa040fd77d871366dc4d4f8501/@vnuge-vnlib.browser/release.tgz",
+ "@vnuge/vnlib.browser": "https://www.vaughnnugent.com/public/resources/software/builds/Plugins.Essentials/df7dc615532d3441f527374d18664c1a5a336de6/@vnuge-vnlib.browser/release.tgz",
"@vuelidate/core": "^2.0.2",
"@vuelidate/validators": "^2.0.2",
"@vueuse/core": "^10.3.x",
@@ -930,8 +930,8 @@
},
"node_modules/@vnuge/vnlib.browser": {
"version": "0.1.13",
- "resolved": "https://www.vaughnnugent.com/public/resources/software/builds/Plugins.Essentials/335659f2a3d412aa040fd77d871366dc4d4f8501/@vnuge-vnlib.browser/release.tgz",
- "integrity": "sha512-oAbkMolkbc8J2cbNhouDanKpRXG8cyI05weaED0nfk4LEyOByT02AXoe9CjqdSStYj+Lvh6DvFKhSV0QzvjQng==",
+ "resolved": "https://www.vaughnnugent.com/public/resources/software/builds/Plugins.Essentials/df7dc615532d3441f527374d18664c1a5a336de6/@vnuge-vnlib.browser/release.tgz",
+ "integrity": "sha512-Ddm0cVV4GeNaO5Dd8ycMklswnXBY4L+7gOSu2W1vOOabc8YDaP2XsTaA+xImFVLXj86hQbBTRUUKF9Ebacx+WQ==",
"license": "MIT",
"peerDependencies": {
"@vueuse/core": "^10.x",
diff --git a/front-end/package.json b/front-end/package.json
index 0ae32f1..fabf4ff 100644
--- a/front-end/package.json
+++ b/front-end/package.json
@@ -18,7 +18,7 @@
},
"dependencies": {
"@headlessui/vue": "^1.7.17",
- "@vnuge/vnlib.browser": "https://www.vaughnnugent.com/public/resources/software/builds/Plugins.Essentials/335659f2a3d412aa040fd77d871366dc4d4f8501/@vnuge-vnlib.browser/release.tgz",
+ "@vnuge/vnlib.browser": "https://www.vaughnnugent.com/public/resources/software/builds/Plugins.Essentials/df7dc615532d3441f527374d18664c1a5a336de6/@vnuge-vnlib.browser/release.tgz",
"@vuelidate/core": "^2.0.2",
"@vuelidate/validators": "^2.0.2",
"@vueuse/core": "^10.3.x",
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) => {
>
</span>
</div>
- <div v-if="totpEnabled" class="flex" @click="addOrUpdate()">
+ <div v-if="totpEnabled" class="flex">
<button class="btn light">
Regenerate
</button>