@fluxo-dev/state 25.2.3 → 25.2.5
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/index.esm.js +3 -2
- package/package.json +1 -1
- package/src/lib/layout/layoutSlice.d.ts +0 -3
package/index.esm.js
CHANGED
|
@@ -168,8 +168,7 @@ const initialState = {
|
|
|
168
168
|
userId: '',
|
|
169
169
|
mode: 'single-session',
|
|
170
170
|
navigationMode: 'sidebar',
|
|
171
|
-
routes: {}
|
|
172
|
-
enabledRoutes: {}
|
|
171
|
+
routes: {}
|
|
173
172
|
};
|
|
174
173
|
const layoutSlice = createSlice({
|
|
175
174
|
name: 'layout',
|
|
@@ -183,9 +182,11 @@ const layoutSlice = createSlice({
|
|
|
183
182
|
},
|
|
184
183
|
openNavbar(state, action) {
|
|
185
184
|
state.navbarOpened = true;
|
|
185
|
+
localStorage.setItem('fluxo-shell-navbar-opened', 'true');
|
|
186
186
|
},
|
|
187
187
|
closeNavbar(state, action) {
|
|
188
188
|
state.navbarOpened = false;
|
|
189
|
+
localStorage.setItem('fluxo-shell-navbar-opened', 'false');
|
|
189
190
|
},
|
|
190
191
|
setUserIdle(state, action) {
|
|
191
192
|
state.userIdle = true;
|
package/package.json
CHANGED