diff --git a/src/modules/04_registryNew/views/list.vue b/src/modules/04_registryNew/views/list.vue index 1f107ca2d..5118a2721 100644 --- a/src/modules/04_registryNew/views/list.vue +++ b/src/modules/04_registryNew/views/list.vue @@ -172,12 +172,7 @@ function insertAvatar(items: DataPerson[]) { items.map((x: any, index: number) => { http .get( - config.API.fileByFile( - "ทะเบียนประวัติ", - "โปรไฟล์", - x.id, - "profile-" + x.id - ) + config.API.fileByFile("ทะเบียนประวัติ", "โปรไฟล์", x.id, x.avatarName) ) .then((img) => { dataPersonMain.value[index] = {