diff --git a/src/stores/acctMgmt.ts b/src/stores/acctMgmt.ts index 865fb07..0ff21ae 100644 --- a/src/stores/acctMgmt.ts +++ b/src/stores/acctMgmt.ts @@ -184,7 +184,7 @@ export const useAcctMgmtStore = defineStore('acctMgmtStore', { try { const response = await apiClient.put(apiEdit, { - username: editDetail.newUsername ? editDetail.newUsername : editDetail.username, + username: editDetail.newUsername != null ? editDetail.newUsername : editDetail.username, password: editDetail.password, name: editDetail.name, is_active: editDetail.is_active,