diff --git a/resources/js/layouts/AppLayout.vue b/resources/js/layouts/AppLayout.vue index a6ec8da5..2f479436 100644 --- a/resources/js/layouts/AppLayout.vue +++ b/resources/js/layouts/AppLayout.vue @@ -154,10 +154,12 @@ export default { window.addEventListener('resize', this.menuListener); this.menuListener(); - window.addEventListener('inertiaStart', (e) => { - _self.menuVisible = false; - _self.searchVisible = false; - _self.menuOverflowVisible = false; + window.addEventListener('inertiaStart', () => { + if (!window.matchMedia('(min-width: 1024px)').matches) { + _self.menuVisible = false; + _self.searchVisible = false; + _self.menuOverflowVisible = false; + } }); }, }; diff --git a/resources/js/views/member/VIndex.vue b/resources/js/views/member/VIndex.vue index e215ae90..df64e654 100644 --- a/resources/js/views/member/VIndex.vue +++ b/resources/js/views/member/VIndex.vue @@ -34,57 +34,7 @@ -
- - - - - - - -
+ @@ -95,14 +45,15 @@
-
+
+
import(/* webpackChunkName: "member" */ './AgeGroups'), 'tags': () => import(/* webpackChunkName: "member" */ './Tags'), + 'actions': () => import(/* webpackChunkName: "member" */ './index/Actions'), }, methods: { diff --git a/resources/js/views/member/index/Actions.vue b/resources/js/views/member/index/Actions.vue new file mode 100644 index 00000000..b6ee9c87 --- /dev/null +++ b/resources/js/views/member/index/Actions.vue @@ -0,0 +1,55 @@ + + +