feat: fix bug in permission's owner edit (#3041)

This commit is contained in:
赵尧鹏 2024-07-06 11:24:08 +08:00 committed by GitHub
parent 8077a2ccba
commit 52cc2e4fa7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -487,6 +487,7 @@ class PermissionEditPage extends React.Component {
if (res.status === "ok") { if (res.status === "ok") {
Setting.showMessage("success", i18next.t("general:Successfully saved")); Setting.showMessage("success", i18next.t("general:Successfully saved"));
this.setState({ this.setState({
organizationName: this.state.permission.owner,
permissionName: this.state.permission.name, permissionName: this.state.permission.name,
}); });