Skip to content

Commit 5824e62

Browse files
committed
revert async loading of sidebars
Signed-off-by: dartcafe <github@dartcafe.de>
1 parent c5317eb commit 5824e62

1 file changed

Lines changed: 20 additions & 15 deletions

File tree

src/views/SideBar.vue

Lines changed: 20 additions & 15 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) => {

0 commit comments

Comments
 (0)