Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit 4d91f89

Browse files
committed
fix mobile sidenav
1 parent 41f4232 commit 4d91f89

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/sidenav/components/SidenavTitle.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<QToolbar
33
v-if="$q.platform.is.mobile"
44
class="bg-primary text-white"
5-
@click="$router.push('/').catch(() => {}) && $emit('click')"
5+
@click="$emit('click')"
66
>
77
<img
88
v-if="currentGroup && currentGroup.hasPhoto"

src/topbar/components/KTopbar.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
@show-search="$store.commit('search/show')"
1414
@hide-search="$store.commit('search/hide')"
1515
@toggle-sidenav="$emit('toggle-sidenav')"
16-
/>
16+
>
17+
<slot />
18+
</KTopbarUI>
1719
</template>
1820

1921
<script>

src/topbar/components/LoggedOut/KTopbar.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
:breadcrumbs="$store.getters['breadcrumbs/all']"
44
:current-user-id="$store.getters['auth/userId']"
55
@logout="$store.dispatch('auth/logout')"
6-
/>
6+
>
7+
<slot />
8+
</KTopbarUI>
79
</template>
810

911
<script>

0 commit comments

Comments
 (0)