π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
:construction: Checks if multi-tasking enabled, and loads in correct component
Alicia Sykes030764c99e3d
diff --git a/src/views/Workspace.vue b/src/views/Workspace.vueindex 7d384d89..2878885c 100644--- a/src/views/Workspace.vue+++ b/src/views/Workspace.vue@@ -1,7 +1,8 @@<template><div class="work-space"><SideBar :sections="sections" @launch-app="launchApp" />- <WebContent :url="url" />+ <WebContent :url="url" v-if="!isMultiTaskingEnabled" />+ <MultiTaskingWebComtent :url="url" v-else /></div></template>@@ -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) {