🐛 Rules without admin rules
This commit is contained in:
parent
71a3b51627
commit
701a726477
@ -45,7 +45,11 @@ export default function RolesInformations(props: IProps) {
|
||||
},
|
||||
});
|
||||
|
||||
const rules = await Rules.getInstance().get({});
|
||||
const rules = await Rules.getInstance().get({
|
||||
where: {
|
||||
namespace: "notary",
|
||||
},
|
||||
});
|
||||
if (!role) return;
|
||||
setRoleSelected(role);
|
||||
if (!role.rules) return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user