Merge branch 'develop' of github.com:Frappet/bma-ehr-admin into develop

This commit is contained in:
kittapath 2024-11-21 15:32:48 +07:00
commit 21b79e5fd0

View file

@ -341,7 +341,7 @@ async function fetchKeycloakPosition() {
.then(async (res) => {
const data = await res.data.result;
//
if (data.avatarName) {
if (data && data.avatarName) {
await getImg(data.profileId, data.avatarName);
} else {
profileImg.value = avatar;