@kodaris/krubble-app-components 1.0.27 → 1.0.28

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.
@@ -1301,7 +1301,7 @@ let KRScaffold = class KRScaffold extends i$1 {
1301
1301
  this.navQuery = '';
1302
1302
  this.activeNavItemId = null;
1303
1303
  this.isNavScrolled = false;
1304
- this.isNavOpened = true;
1304
+ this.isNavOpened = localStorage.getItem('kr-scaffold-nav-opened') !== 'false';
1305
1305
  this.isEditing = false;
1306
1306
  this.isUserMenuOpen = false;
1307
1307
  this.pref = { nav: {} };
@@ -1564,6 +1564,7 @@ let KRScaffold = class KRScaffold extends i$1 {
1564
1564
  // =========================================================================
1565
1565
  handleMenuClick() {
1566
1566
  this.isNavOpened = !this.isNavOpened;
1567
+ localStorage.setItem('kr-scaffold-nav-opened', String(this.isNavOpened));
1567
1568
  }
1568
1569
  /**
1569
1570
  * Handles click on the nav header (logo/title) to navigate home.