fixing bug

This commit is contained in:
Warunee Tamkoo 2024-06-07 12:09:33 +07:00
parent a1bfbba9b6
commit e53f81890e

View file

@ -146,7 +146,8 @@ function onSubmit() {
["org" + type + "RankSub"]:
level.value !== 0 ? formData.orgLevelSub : undefined,
[nameId]: rootId,
responsibility: formData.responsibility,
responsibility:
formData.responsibility != null ? formData.responsibility : "",
};
if (actionType.value === "ADD") {