Arno Kaimbacher
f403c3109f
All checks were successful
CI Pipeline / japa-tests (push) Successful in 54s
- 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;
|
|
},
|
|
},
|
|
});
|