Skip to content

Commit 8d483fd

Browse files
fix: lazy load files sidebar tab
The global sidebar tab entrypoint was eagerly importing the Files tab component, which pulled LibreSign router code into unrelated apps and rewrote app navigation paths such as Deck. Fixes #7321 Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent ca71c4b commit 8d483fd

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/tab.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@
44
*/
55

66
import { createPinia } from 'pinia'
7-
import { createApp } from 'vue'
7+
import { createApp, type App as VueApp } from 'vue'
88

99
import { loadState } from '@nextcloud/initial-state'
1010
import { t, n } from '@nextcloud/l10n'
1111
import { FileType } from '@nextcloud/files'
1212

1313
import LibreSignLogoDarkSvg from '../img/app-dark.svg?raw'
1414

15-
import AppFilesTab from './components/RightSidebar/AppFilesTab.vue'
16-
1715
import './style/icons.scss'
1816

1917
if (!window.OCA.Libresign) {

0 commit comments

Comments
 (0)