diff --git a/src/components/CippTable/CIPPTableToptoolbar.js b/src/components/CippTable/CIPPTableToptoolbar.js index eb2c46364f60..c7c868e4e5f0 100644 --- a/src/components/CippTable/CIPPTableToptoolbar.js +++ b/src/components/CippTable/CIPPTableToptoolbar.js @@ -47,7 +47,7 @@ export const CIPPTableToptoolbar = ({ if (settings?.columnDefaults[pageName]) { setColumnVisibility(settings?.columnDefaults[pageName]); } - }, [settings?.columnDefaults[pageName], router, usedColumns]); + }, [settings?.columnDefaults?.[pageName], router, usedColumns]); const resetToDefaultVisibility = () => { settings.handleUpdate({