From 062ab25d80c5e98dda577545b88021a52d37356b Mon Sep 17 00:00:00 2001 From: Christoph Anderson Date: Mon, 25 Sep 2023 20:56:25 +0200 Subject: [PATCH] Fix noParent policy not being shown --- src/PoliciesTable.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PoliciesTable.jsx b/src/PoliciesTable.jsx index 6d0463a..b235b39 100644 --- a/src/PoliciesTable.jsx +++ b/src/PoliciesTable.jsx @@ -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])) {