Skip to content

Commit

Permalink
Merge pull request #83 from VortexExpansion/fix-signup
Browse files Browse the repository at this point in the history
fix signup
  • Loading branch information
HisashiHasebe authored May 17, 2024
2 parents 47bd465 + a65d2b5 commit f496ce3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</v-btn>
</template>
<template v-else>
<div v-if="$route.name === 'signup'" class="white--text">
<div v-if="router.currentRoute.value.path == '/signup' || router.currentRoute.value.path == '/ja/signup'" class="white--text">
<span>Already have an account?</span>
<button
class="c-btn c-btn_sm c-btn_dark ml-2"
Expand All @@ -61,7 +61,7 @@
}
"
>
Sign Up
{{ $t('signup.title') }}
</button>
</div>
</template>
Expand All @@ -88,6 +88,7 @@
const { authUser, isLoggedIn, logout } = useAuth();
const { locale, setLocale } = useI18n();
const localePath = useLocalePath();
const router = useRouter();
const drawer = ref(false);
const clipped = ref(false);
Expand Down

0 comments on commit f496ce3

Please sign in to comment.