Improve permission.State

This commit is contained in:
Yang Luo
2023-11-22 00:03:18 +08:00
parent 23d4488b64
commit 192968bac8
3 changed files with 9 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class PermissionListPage extends BaseListPage {
submitter: this.props.account.name,
approver: "",
approveTime: "",
state: "Pending",
state: Setting.isLocalAdminUser(this.props.account) ? "Approved" : "Pending",
};
}