aboutsummaryrefslogtreecommitdiff
path: root/front-end/src/views
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-03-13 16:51:14 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-03-13 16:51:14 -0400
commit92eccbf4f6784fbee7505996a97aa5bb27d12238 (patch)
tree8b367d2ed68a939962316d60cdf01e4f9d949a8d /front-end/src/views
parent54017c76a74369700536e6ce14f575c6be0233a6 (diff)
chore(app): just some package updates
Diffstat (limited to 'front-end/src/views')
-rw-r--r--front-end/src/views/Login/components/Social.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/front-end/src/views/Login/components/Social.vue b/front-end/src/views/Login/components/Social.vue
index 7e92d99..3c93d0e 100644
--- a/front-end/src/views/Login/components/Social.vue
+++ b/front-end/src/views/Login/components/Social.vue
@@ -16,11 +16,11 @@ const submitLogin = (method: OAuthMethod) => apiCall(async () => {
})
const getIcon = (method: OAuthMethod): string[] => {
- switch (method.Id) {
+ switch (method.id) {
case 'auth0':
return ['fa', 'certificate']
default:
- return ['fab', method.Id]
+ return ['fab', method.id]
}
}
@@ -32,7 +32,7 @@ store.socialOauth().then(m => methods.value = m.methods);
<template>
<div class="flex flex-col gap-3">
- <div v-for="method in methods" :key="method.Id" class="">
+ <div v-for="method in methods" :key="method.id" class="">
<button
type="submit"
class="btn social-button"
@@ -40,7 +40,7 @@ store.socialOauth().then(m => methods.value = m.methods);
@click.prevent="submitLogin(method)"
>
<fa-icon :icon="getIcon(method)" size="xl" />
- Login with {{ capitalize(method.Id) }}
+ Login with {{ capitalize(method.id) }}
</button>
</div>
</div>