feat: fix org admin permissions (#1822)

This commit is contained in:
XDTD
2023-05-09 00:06:52 +08:00
committed by GitHub
parent 3699177837
commit cb542ae46a
54 changed files with 242 additions and 114 deletions

View File

@ -145,7 +145,7 @@ class ApplicationEditPage extends React.Component {
}
getCerts() {
CertBackend.getCerts("admin")
CertBackend.getCerts(this.props.account.owner)
.then((res) => {
this.setState({
certs: (res.msg === undefined) ? res : [],