Files
vuefilemanager/resources/js/components/Layout/Toolbars/MobileToolbar.vue
Čarodej 35f6144569 - creating admin fix
- fixed hamburger menu in public folder
- red cancel sharing button

(cherry picked from commit 4b8bd3be52)
2022-04-27 17:28:48 +02:00

37 lines
998 B
Vue

<template>
<div
class="sticky top-0 z-[19] block flex w-full items-center justify-between bg-white py-5 px-4 text-center dark:bg-dark-background lg:hidden"
>
<NavigationBar />
<div class="relative flex items-center">
<!--More Actions-->
<div class="flex items-center relative mr-[4px]">
<div v-if="! $isThisRoute($route, ['Public'])" @click="showMobileNavigation" class="cursor-pointer p-1.5 -m-1.5">
<menu-icon size="17" class="vue-feather dark:text-gray-100" />
</div>
</div>
</div>
</div>
</template>
<script>
import { MenuIcon } from 'vue-feather-icons'
import NavigationBar from './NavigationBar'
export default {
name: 'MobileToolBar',
components: {
NavigationBar,
MenuIcon,
},
methods: {
showMobileNavigation() {
this.$showMobileMenu('user-navigation')
this.$store.commit('DISABLE_MULTISELECT_MODE')
},
},
}
</script>