Skip to content

Commit 64b1a64

Browse files
authored
Merge pull request #4195 from nextcloud/fix/side-bar
Fix sidebar
2 parents 3757739 + 5824e62 commit 64b1a64

1 file changed

Lines changed: 21 additions & 16 deletions

File tree

src/views/SideBar.vue

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ import { Event } from '../Types'
1414
1515
import { usePollStore } from '../stores/poll'
1616
import { useSessionStore } from '../stores/session'
17+
import SideBarTabConfiguration from '../components/SideBar/SideBarTabConfiguration.vue'
18+
import SideBarTabComments from '../components/SideBar/SideBarTabComments.vue'
19+
import SideBarTabOptions from '../components/SideBar/SideBarTabOptions.vue'
20+
import SideBarTabShare from '../components/SideBar/SideBarTabShare.vue'
21+
import SideBarTabActivity from '../components/SideBar/SideBarTabActivity.vue'
1722
1823
const pollStore = usePollStore()
1924
const sessionStore = useSessionStore()
@@ -37,21 +42,21 @@ const SidebarActivityIcon = defineAsyncComponent(
3742
() => import('vue-material-design-icons/LightningBolt.vue'),
3843
)
3944
40-
const SideBarTabConfiguration = defineAsyncComponent(
41-
() => import('../components/SideBar/SideBarTabConfiguration.vue'),
42-
)
43-
const SideBarTabComments = defineAsyncComponent(
44-
() => import('../components/SideBar/SideBarTabConfiguration.vue'),
45-
)
46-
const SideBarTabOptions = defineAsyncComponent(
47-
() => import('../components/SideBar/SideBarTabConfiguration.vue'),
48-
)
49-
const SideBarTabShare = defineAsyncComponent(
50-
() => import('../components/SideBar/SideBarTabConfiguration.vue'),
51-
)
52-
const SideBarTabActivity = defineAsyncComponent(
53-
() => import('../components/SideBar/SideBarTabConfiguration.vue'),
54-
)
45+
// const SideBarTabConfiguration = defineAsyncComponent(
46+
// () => import('../components/SideBar/SideBarTabConfiguration.vue'),
47+
// )
48+
// const SideBarTabComments = defineAsyncComponent(
49+
// () => import('../components/SideBar/SideBarTabConfiguration.vue'),
50+
// )
51+
// const SideBarTabOptions = defineAsyncComponent(
52+
// () => import('../components/SideBar/SideBarTabConfiguration.vue'),
53+
// )
54+
// const SideBarTabShare = defineAsyncComponent(
55+
// () => import('../components/SideBar/SideBarTabConfiguration.vue'),
56+
// )
57+
// const SideBarTabActivity = defineAsyncComponent(
58+
// () => import('../components/SideBar/SideBarTabConfiguration.vue'),
59+
// )
5560
5661
onMounted(() => {
5762
subscribe(Event.SidebarToggle, (payload) => {
@@ -80,7 +85,7 @@ function closeSideBar() {
8085
<template>
8186
<NcAppSidebar
8287
v-show="showSidebar"
83-
v-model="activeTab"
88+
v-model:active="activeTab"
8489
:name="t('polls', 'Details')"
8590
@close="closeSideBar()">
8691
<NcAppSidebarTab

0 commit comments

Comments
 (0)