]> source.dussan.org Git - nextcloud-server.git/commitdiff
chore: Remove unused code from dashboard entrypoint
authorFerdinand Thiessen <opensource@fthiessen.de>
Fri, 9 Feb 2024 11:09:49 +0000 (12:09 +0100)
committerFerdinand Thiessen <opensource@fthiessen.de>
Fri, 9 Feb 2024 13:02:45 +0000 (14:02 +0100)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
apps/dashboard/src/main.js

index 53bff4a27bd50f56b39bbc5fbfef9968dd34d052..18374f823c1e87be04386359094d82e4309404eb 100644 (file)
@@ -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')