mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
Fix acl proxy
This commit is contained in:
parent
63c78d09d9
commit
aec1ff2173
@ -28,6 +28,7 @@ let AclProxy = React.createClass({
|
|||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
if(this.props.aclObject) {
|
||||||
if(this.props.aclObject[this.props.aclName]) {
|
if(this.props.aclObject[this.props.aclName]) {
|
||||||
return (
|
return (
|
||||||
<span>
|
<span>
|
||||||
@ -42,6 +43,8 @@ let AclProxy = React.createClass({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
export default AclProxy;
|
export default AclProxy;
|
Loading…
Reference in New Issue
Block a user