fix(ui): fix unit test fail

This commit is contained in:
hexxa 2021-08-29 18:59:35 +08:00 committed by Hexxa
parent 87868dea4c
commit 8ccb194fea

View file

@ -396,6 +396,7 @@ export class AdminPane extends React.Component<Props, State, {}> {
pwd: this.state.newUserPwd1, pwd: this.state.newUserPwd1,
role: this.state.newUserRole, role: this.state.newUserRole,
quota: undefined, quota: undefined,
usedSpace: "0",
}) })
.then((ok: boolean) => { .then((ok: boolean) => {
if (!ok) { if (!ok) {