Added check to SidebarPanelGroup for when layout does not exist
• Added: - check to SidebarPanelGroup for when layout does not exist to return null
This commit is contained in:
parent
75e3ac6c7d
commit
e66a9ae0a6
|
@ -24,6 +24,8 @@ class SidebarPanelGroup extends React.PureComponent {
|
|||
}
|
||||
}
|
||||
|
||||
if (!Array.isArray(layout)) return null
|
||||
|
||||
return (
|
||||
<React.Fragment>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue