no message

This commit is contained in:
Kittapath 2024-07-08 20:37:55 +07:00
parent f1e8a6f8de
commit 1dceb4a114
2 changed files with 90 additions and 48 deletions

View file

@ -1601,7 +1601,10 @@ export class PositionController extends Controller {
posMasterNoSuffix: item.posMasterNoSuffix ? item.posMasterNoSuffix : null,
reason: item.reason ? item.reason : null,
position: item.positions.map((x) => x.positionName).join("/"),
posExecutive: item.positions.map((x) => x.posExecutive.posExecutiveName).join("/"),
posExecutive: item.positions
.filter((x) => x.posExecutive != null)
.map((x) => x.posExecutive?.posExecutiveName ?? null)
.join("/"),
posLevel: item.positions.map((x) => x.posLevel.posLevelName).join("/"),
posType: item.positions.map((x) => x.posType.posTypeName).join("/"),
fullname: