Skip to content

Commit

Permalink
Merge pull request #10 from tuandm/bugfix/navbar-on-mobile
Browse files Browse the repository at this point in the history
Hide lang-select for mobile
  • Loading branch information
tuandm authored Feb 26, 2019
2 parents 5dbc317 + 8eb6fa9 commit a76bca2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions resources/js/views/layout/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<hamburger :toggle-click="toggleSideBar" :is-active="sidebar.opened" class="hamburger-container"/>
<breadcrumb />
<div class="right-menu">
<lang-select class="international right-menu-item"/>
<template v-if="device!=='mobile'">
<lang-select class="international right-menu-item"/>
</template>
<el-dropdown class="avatar-container" trigger="click">
<div class="avatar-wrapper">
<img :src="avatar+'?imageView2/1/w/80/h/80'" class="user-avatar">
Expand Down Expand Up @@ -39,7 +41,8 @@ export default {
computed: {
...mapGetters([
'sidebar',
'avatar'
'avatar',
'device'
])
},
methods: {
Expand Down

0 comments on commit a76bca2

Please sign in to comment.