From 030764c99e3d58d2b09359b1df0051d4aea30db3 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Wed, 11 Aug 2021 05:05:22 +0100 Subject: [PATCH] :construction: Checks if multi-tasking enabled, and loads in correct component --- src/views/Workspace.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/Workspace.vue b/src/views/Workspace.vue index 7d384d89..2878885c 100644 --- a/src/views/Workspace.vue +++ b/src/views/Workspace.vue @@ -1,7 +1,8 @@ @@ -9,6 +10,7 @@ import SideBar from '@/components/Workspace/SideBar'; import WebContent from '@/components/Workspace/WebContent'; +import MultiTaskingWebComtent from '@/components/Workspace/MultiTaskingWebComtent'; import Defaults from '@/utils/defaults'; import { GetTheme, ApplyLocalTheme, ApplyCustomVariables } from '@/utils/ThemeHelper'; @@ -24,9 +26,15 @@ export default { ApplyLocalTheme, ApplyCustomVariables, }), + computed: { + isMultiTaskingEnabled() { + return this.appConfig.enableMultiTasking || false; + }, + }, components: { SideBar, WebContent, + MultiTaskingWebComtent, }, methods: { launchApp(url) {