From d4eb3bcac2244b72355055a237ba4dc57bb2ef35 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 9 Feb 2024 12:09:49 +0100 Subject: [PATCH] chore: Remove unused code from dashboard entrypoint Signed-off-by: Ferdinand Thiessen --- apps/dashboard/src/main.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/apps/dashboard/src/main.js b/apps/dashboard/src/main.js index 53bff4a27bd..18374f823c1 100644 --- a/apps/dashboard/src/main.js +++ b/apps/dashboard/src/main.js @@ -33,13 +33,6 @@ Vue.directive('Tooltip', VTooltip) Vue.prototype.t = t -// FIXME workaround to make the sidebar work -if (!window.OCA.Files) { - window.OCA.Files = {} -} - -Object.assign(window.OCA.Files, { App: { fileList: { filesClient: OC.Files.getClient() } } }, window.OCA.Files) - const Dashboard = Vue.extend(DashboardApp) const Instance = new Dashboard({}).$mount('#app-content-vue') -- 2.39.5