File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 132132import { getCurrentUser } from ' @nextcloud/auth'
133133import axios from ' @nextcloud/axios'
134134import { loadState } from ' @nextcloud/initial-state'
135+ import { t } from ' @nextcloud/l10n'
135136import { generateOcsUrl , generateUrl } from ' @nextcloud/router'
136137// import this directly so Vite builds it and we don't end up using the UMD bundle which
137138// tries to run "new Function(...)" (for no good reason) which is blocked by our CSP
@@ -175,6 +176,7 @@ export default {
175176
176177 setup () {
177178 return {
179+ t,
178180 productName: window .OC .theme .productName ,
179181 }
180182 },
@@ -559,6 +561,11 @@ export default {
559561< / script>
560562
561563< style lang= " scss" scoped>
564+ : global (#content .app - dashboard ) {
565+ margin- inline: 0 ;
566+ width: 100 % ;
567+ }
568+
562569#app- dashboard {
563570 width: 100 % ;
564571 min- height: 100 % ;
Original file line number Diff line number Diff line change 1- /**
1+ /*!
22 * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
33 * SPDX-License-Identifier: AGPL-3.0-or-later
44 */
55
6- import { t } from '@nextcloud/l10n'
76import { createApp } from 'vue'
87import DashboardApp from './DashboardApp.vue'
98
109const app = createApp ( DashboardApp )
11- app . mixin ( { methods : { t, n } } )
1210const Instance = app . mount ( '#app-content-vue' )
1311
1412window . OCA . Dashboard = {
You can’t perform that action at this time.
0 commit comments