shared-ritm 1.3.119 → 1.3.120

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.3.119",
3
+ "version": "1.3.120",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -87,7 +87,10 @@ const drawerWidth = computed(() => (isTablet.value ? 250 : 275))
87
87
  const drawerMiniWidth = computed(() => (isTablet.value ? 47 : 72))
88
88
 
89
89
  function toggleSidebarMini(value: boolean): void {
90
- if (!isFixSidebar.value && !isTablet.value) isSidebarMini.value = value
90
+ if (!isFixSidebar.value && !isTablet.value) {
91
+ isSidebarMini.value = value
92
+ window.dispatchEvent(new CustomEvent('toggle-sidebar'))
93
+ }
91
94
  }
92
95
 
93
96
  function openDrawerIsTablet() {