diff --git a/src/menuNavBar.js b/src/menuNavBar.js
index 108753e5..aff146b4 100644
--- a/src/menuNavBar.js
+++ b/src/menuNavBar.js
@@ -3,6 +3,7 @@ import {
mdiLogout,
mdiServerNetwork,
mdiCardAccountDetailsOutline,
+ mdiAccountArrowLeftOutline,
} from "@mdi/js";
export default [
@@ -24,6 +25,11 @@ export default [
label: "Login Cards",
to: "/profile/cards",
},
+ {
+ icon: mdiAccountArrowLeftOutline,
+ label: "Claim Profile",
+ to: "/profile/claim",
+ },
],
},
// {
diff --git a/src/router/index.js b/src/router/index.js
index 1816177c..e1e6bd9e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -82,6 +82,14 @@ const routes = [
name: "profile_cards",
component: () => import("@/views/Profile/CardsView.vue"),
},
+ {
+ meta: {
+ title: "Claim a Profile",
+ },
+ path: "/profile/claim",
+ name: "profile_claim",
+ component: () => import("@/views/Profile/ClaimView.vue"),
+ },
// {
// meta: {
// title: "Goals",
diff --git a/src/views/Arcade/ArcadeView.vue b/src/views/Arcade/ArcadeView.vue
index bd9d5cf9..3ea91097 100644
--- a/src/views/Arcade/ArcadeView.vue
+++ b/src/views/Arcade/ArcadeView.vue
@@ -153,13 +153,13 @@ async function exportVPN() {
v-if="setting.type == 'Boolean'"
:name="setting.id"
:model-value="
- Boolean(getNestedValue(optionForm, setting.id) ?? 0)
+ Boolean(getNestedValue(optionForm, setting.id) ?? false)
"
:input-value="true"
type="switch"
@update:model-value="
(value) =>
- setNestedValue(optionForm, setting.id, Number(value) ?? 0)
+ setNestedValue(optionForm, setting.id, value ?? false)
"
/>
diff --git a/src/views/Profile/ClaimView.vue b/src/views/Profile/ClaimView.vue
new file mode 100644
index 00000000..b054fa27
--- /dev/null
+++ b/src/views/Profile/ClaimView.vue
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+
+
+
+ If you registered a card in game and need to claim it, you may do so
+ here. Please note that the account cannot already be claimed!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+