| | |
| | | actions: {
|
| | | toggleSideBar(withoutAnimation) {
|
| | | if (this.sidebar.hide) {
|
| | | return false;
|
| | | return false
|
| | | }
|
| | | this.sidebar.opened = !this.sidebar.opened
|
| | | this.sidebar.withoutAnimation = withoutAnimation
|
| | |
| | | Cookies.set('sidebarStatus', 0)
|
| | | }
|
| | | },
|
| | | closeSideBar(withoutAnimation) {
|
| | | closeSideBar({ withoutAnimation }) {
|
| | | Cookies.set('sidebarStatus', 0)
|
| | | this.sidebar.opened = false
|
| | | this.sidebar.withoutAnimation = withoutAnimation
|
| | |
| | | this.device = device
|
| | | },
|
| | | setSize(size) {
|
| | | this.size = size;
|
| | | this.size = size
|
| | | Cookies.set('size', size)
|
| | | },
|
| | | toggleSideBarHide(status) {
|