Skip to content

Commit

Permalink
Fix noParent policy not being shown
Browse files Browse the repository at this point in the history
  • Loading branch information
lupusA committed Sep 25, 2023
1 parent 0bb1ebc commit 062ab25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PoliciesTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class PoliciesTable extends Component {
if (obj.hasOwnProperty(key))
return isEmptyObject(obj[key]);
}
return true;
return isEmptyObject(obj);
}
for (let pol in policies.policy) {
if (!isEmpty(policies.policy[pol])) {
Expand Down

0 comments on commit 062ab25

Please sign in to comment.