switch to ageVerified

This commit is contained in:
Natsumi
2025-02-07 04:00:43 +13:00
parent 5f30e443c2
commit 896ea415e4
2 changed files with 3 additions and 2 deletions

View File

@@ -550,6 +550,7 @@ console.log(`isLinux: ${LINUX}`);
if (typeof ref === 'undefined') {
ref = {
ageVerificationStatus: '',
ageVerified: false,
allowAvatarCopying: false,
badges: [],
bio: '',

View File

@@ -140,11 +140,11 @@ mixin userDialog
size='mini'
style='margin-right: 5px; margin-top: 5px') {{ userDialog.ref.last_platform }}
el-tag.x-tag-age-verification(
v-if='userDialog.ref.ageVerificationStatus && userDialog.ref.ageVerificationStatus !== "hidden"'
v-if='userDialog.ref.ageVerified'
type='info'
effect='plain'
size='mini'
style='margin-right: 5px; margin-top: 5px') {{ userDialog.ref.ageVerificationStatus }}
style='margin-right: 5px; margin-top: 5px') 18+
el-tag.name(
v-if='userDialog.ref.$customTag'
type='info'