forked from geolba/tethys.backend
15 lines
296 B
JavaScript
15 lines
296 B
JavaScript
|
import { defineStore } from 'pinia';
|
||
|
|
||
|
export const LayoutService = defineStore('layout', {
|
||
|
state: () => ({
|
||
|
isAsideMobileExpanded: false, // via action
|
||
|
isAsideLgActive: false,
|
||
|
}),
|
||
|
|
||
|
actions: {
|
||
|
asideMobileToggle() {
|
||
|
this.isAsideMobileExpanded = !this.isAsideMobileExpanded;
|
||
|
},
|
||
|
},
|
||
|
});
|