fix
This commit is contained in:
parent
df05b9afaf
commit
9bf37a2f1d
2 changed files with 8 additions and 7 deletions
|
|
@ -194,6 +194,7 @@ export class InsigniaController extends Controller {
|
|||
"lastUpdateFullName",
|
||||
"isActive",
|
||||
"note",
|
||||
"insigniaTypeId",
|
||||
],
|
||||
order: { level: "ASC" },
|
||||
});
|
||||
|
|
@ -202,7 +203,7 @@ export class InsigniaController extends Controller {
|
|||
id: item.id,
|
||||
name: item.name,
|
||||
shortName: item.shortName,
|
||||
insigniaTypeId: item.insigniaTypeId,
|
||||
insigniaTypeId: item.insigniaTypeId??null,
|
||||
insigniaTypeName: item.insigniaType == null ? null : item.insigniaType.name, //ลำดับชั้นเครื่องราช
|
||||
createdAt: item.createdAt,
|
||||
lastUpdatedAt: item.lastUpdatedAt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue