From 453e59d8734a1961476fe9b66bceb400c361f22d Mon Sep 17 00:00:00 2001 From: KelvinTegelaar Date: Wed, 26 Jun 2024 10:21:16 +0200 Subject: [PATCH 1/2] fix flatten when obj is null --- src/components/tables/CippTable.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/tables/CippTable.jsx b/src/components/tables/CippTable.jsx index 8db2dbcf1db4..6eee3a54e611 100644 --- a/src/components/tables/CippTable.jsx +++ b/src/components/tables/CippTable.jsx @@ -637,6 +637,7 @@ export default function CippTable({ // Define the flatten function const flatten = (obj, prefix = '') => { + if (obj === null) return {} return Object.keys(obj).reduce((output, key) => { const newKey = prefix ? `${prefix}.${key}` : key const value = obj[key] === null ? '' : obj[key] From c025a51ab6d26e2887d4cd7af90c9247e820280c Mon Sep 17 00:00:00 2001 From: KelvinTegelaar Date: Wed, 26 Jun 2024 10:28:31 +0200 Subject: [PATCH 2/2] version up --- package.json | 2 +- public/version_latest.txt | 2 +- version_latest.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ed6174da5afa..039c0b97dd85 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cipp", - "version": "5.9.0", + "version": "5.9.3", "description": "The CyberDrain Improved Partner Portal is a portal to help manage administration for Microsoft Partners.", "homepage": "https://cipp.app/", "bugs": { diff --git a/public/version_latest.txt b/public/version_latest.txt index b3d91f9cfc04..99a8b57b6f85 100644 --- a/public/version_latest.txt +++ b/public/version_latest.txt @@ -1 +1 @@ -5.9.0 +5.9.3 diff --git a/version_latest.txt b/version_latest.txt index b3d91f9cfc04..99a8b57b6f85 100644 --- a/version_latest.txt +++ b/version_latest.txt @@ -1 +1 @@ -5.9.0 +5.9.3