@kodaris/krubble-app-components 1.0.27 → 1.0.29

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.
@@ -1304,7 +1304,7 @@
1304
1304
  this.navQuery = '';
1305
1305
  this.activeNavItemId = null;
1306
1306
  this.isNavScrolled = false;
1307
- this.isNavOpened = true;
1307
+ this.isNavOpened = localStorage.getItem('kr-scaffold-nav-opened') !== 'false';
1308
1308
  this.isEditing = false;
1309
1309
  this.isUserMenuOpen = false;
1310
1310
  this.pref = { nav: {} };
@@ -1567,6 +1567,7 @@
1567
1567
  // =========================================================================
1568
1568
  handleMenuClick() {
1569
1569
  this.isNavOpened = !this.isNavOpened;
1570
+ localStorage.setItem('kr-scaffold-nav-opened', String(this.isNavOpened));
1570
1571
  }
1571
1572
  /**
1572
1573
  * Handles click on the nav header (logo/title) to navigate home.