add relation profile edit

This commit is contained in:
kittapath 2024-11-11 13:32:44 +07:00
parent 7f6a07483f
commit 6055802f10

View file

@ -129,8 +129,8 @@ export class ProfileEditEmployeeController extends Controller {
const _data = getProfileEdit.map((item) => ({
id: item.id,
idcard: item.profile.citizenId,
profileId: item.profile.id,
idcard: item.profileEmployee.citizenId,
profileId: item.profileEmployee.id,
topic: item.topic,
detail: item.detail,
status: item.status,