Comparing version 2.4.1 to 2.4.2
@@ -261,3 +261,3 @@ "use strict"; | ||
} | ||
if (panelData.parent.mode === 'maximize') { | ||
if (panelData && panelData.parent.mode === 'maximize') { | ||
let newPanel = layout.maxbox.children[0]; | ||
@@ -264,0 +264,0 @@ if (!newPanel || (newPanel.tabs.length === 0 && !newPanel.panelLock)) { |
{ | ||
"name": "rc-dock", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "dock layout for react component", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -280,3 +280,3 @@ import { | ||
} | ||
if (panelData.parent.mode === 'maximize') { | ||
if (panelData && panelData.parent.mode === 'maximize') { | ||
let newPanel = layout.maxbox.children[0] as PanelData; | ||
@@ -283,0 +283,0 @@ if (!newPanel || (newPanel.tabs.length === 0 && !newPanel.panelLock)) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
356343