fix: user status
Deploy banu-front / deploy (push) Failing after 7s

This commit is contained in:
sajjadtalkhabi
2026-06-11 16:57:17 +03:30
parent 130266b416
commit a007db0d50
17 changed files with 123 additions and 119 deletions
@@ -21,11 +21,11 @@
<div class="verification-item__date">
<span class="verification-item__date-label">تاریخ ثبت نام:</span>
<span class="verification-item__date-value">
{{ user.faSubmittedAt || formatJalaaliDate(user.submittedAt) || '—' }}
{{ formatJalaaliDate(user.createdAt) || '—' }}
</span>
</div>
<div
v-if="user.status === 'pending'"
v-if="user.status === 'verified'"
class="verification-item__badge verification-item__badge--pending"
>
<span class="verification-item__dot" />
@@ -92,9 +92,7 @@ const props = defineProps({
const emit = defineEmits(['show-details', 'show-reject-reason', 'verify-user'])
const fullName = computed(
() => `${props.user.firstName || ''} ${props.user.lastName || ''}`.trim() || '—'
)
const fullName = computed(() => `${props.user.name || ''}`.trim() || '—')
</script>
<style lang="scss" scoped>