@turquoisehealth/pit-viper 2.105.1 → 2.105.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -310,11 +310,11 @@ class PVAutoClose extends HTMLElement {
|
|
|
310
310
|
initializeSidebar() {
|
|
311
311
|
const currentSidebarMinimize = this.layout.hasAttribute('data-collapsed');
|
|
312
312
|
if (currentSidebarMinimize) {
|
|
313
|
-
|
|
313
|
+
return;
|
|
314
314
|
}
|
|
315
315
|
const storedValue = this.getSidebarMinimizeState();
|
|
316
316
|
|
|
317
|
-
if (storedValue) {
|
|
317
|
+
if (currentSidebarMinimize || storedValue) {
|
|
318
318
|
this.collapseState();
|
|
319
319
|
this.updateIcons(this.minimizeButton, false);
|
|
320
320
|
} else {
|