fix: no gender badge color

This commit is contained in:
puriphatt 2024-07-03 02:46:27 +00:00
parent e490d0a492
commit 7de0f225e6
3 changed files with 9 additions and 2 deletions

View file

@ -749,7 +749,9 @@ watch(inputSearch, async () => await fetchUserList());
:badgeClass="
formData.gender === 'male'
? 'app-bg-male text-white'
: 'app-bg-female text-white'
: formData.gender === 'female'
? 'app-bg-female text-white'
: ''
"
:badgeLabel="userCode"
:isEdit="infoDrawerEdit"