forked from geolba/tethys.backend
Arno Kaimbacher
f403c3109f
- npm updates - side menu with child items - flash messages via HttpContext response (extended via macro)
15 lines
341 B
TypeScript
15 lines
341 B
TypeScript
import { defineStore } from 'pinia';
|
|
|
|
export const LayoutService = defineStore('layout', {
|
|
state: () => ({
|
|
isAsideMobileExpanded: false, // via action
|
|
isAsideLgActive: false,
|
|
}),
|
|
|
|
actions: {
|
|
asideMobileToggle() {
|
|
this.isAsideMobileExpanded = !this.isAsideMobileExpanded;
|
|
},
|
|
},
|
|
});
|