Closed arteevraina closed 4 years ago
When we want to add a new enforcer and click on the edit button. Error is displayed -
Unhandled Rejection (TypeError): enforcer is null componentDidMount/< src/EnforcerPage.js:47 44 | model: models.filter(model => model.id === enforcer.model)[0], 45 | }); 46 | > 47 | this.getAdapterPolicies(enforcer.adapter); | ^ 48 | this.getAdapterGroupingPolicies(enforcer.adapter); 49 | }); 50 | }
@hsluoyz Is this a valid one?
Please fix it.
Sure thing! Will make a PR for this soon.
When we want to add a new enforcer and click on the edit button. Error is displayed -
@hsluoyz Is this a valid one?