Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update checkbox of signup (#15385)

boojack2d322f1cb89f
diff --git a/frontend/src/views/auth/Signup.vue b/frontend/src/views/auth/Signup.vue
index 50b602b9a4..3766a6fac1 100644
--- a/frontend/src/views/auth/Signup.vue
+++ b/frontend/src/views/auth/Signup.vue
@@ -73,33 +73,28 @@
v-if="needAdminSetup"
class="w-full flex flex-row justify-start items-start"
>
- <NCheckbox
- v-model:checked="state.acceptTermsAndPolicy"
- class="mt-0.5"
- />
- <i18n-t
- tag="span"
- keypath="auth.sign-up.accept-terms-and-policy"
- class="ml-1 select-none"
- @click="
- () => (state.acceptTermsAndPolicy = !state.acceptTermsAndPolicy)
- "
- >
- <template #terms>
- <a
- href="https://www.bytebase.com/terms?source=console"
- class="text-accent"
- >{{ $t("auth.sign-up.terms-of-service") }}</a
- >
- </template>
- <template #policy>
- <a
- href="https://www.bytebase.com/privacy?source=console"
- class="text-accent"
- >{{ $t("auth.sign-up.privacy-policy") }}</a
- >
- </template>
- </i18n-t>
+ <NCheckbox v-model:checked="state.acceptTermsAndPolicy">
+ <i18n-t
+ tag="span"
+ keypath="auth.sign-up.accept-terms-and-policy"
+ class="select-none"
+ >
+ <template #terms>
+ <a
+ href="https://www.bytebase.com/terms?source=console"
+ class="text-accent"
+ >{{ $t("auth.sign-up.terms-of-service") }}</a
+ >
+ </template>
+ <template #policy>
+ <a
+ href="https://www.bytebase.com/privacy?source=console"
+ class="text-accent"
+ >{{ $t("auth.sign-up.privacy-policy") }}</a
+ >
+ </template>
+ </i18n-t>
+ </NCheckbox>
</div>
<div class="w-full">