aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/views/FilesList.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/views/FilesList.vue')
-rw-r--r--apps/files/src/views/FilesList.vue7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/files/src/views/FilesList.vue b/apps/files/src/views/FilesList.vue
index eb38d09e290..8aa93dd41a5 100644
--- a/apps/files/src/views/FilesList.vue
+++ b/apps/files/src/views/FilesList.vue
@@ -64,10 +64,9 @@
<script lang="ts">
import type { Route } from 'vue-router'
-import type { Navigation, ContentsWithRoot } from '../services/Navigation.ts'
import type { UserConfig } from '../types.ts'
-import { Folder, Node } from '@nextcloud/files'
+import { Folder, Node, type View, type ContentsWithRoot } from '@nextcloud/files'
import { join } from 'path'
import { orderBy } from 'natural-orderby'
import { translate } from '@nextcloud/l10n'
@@ -132,9 +131,9 @@ export default Vue.extend({
return this.userConfigStore.userConfig
},
- currentView(): Navigation {
+ currentView(): View {
return (this.$navigation.active
- || this.$navigation.views.find(view => view.id === 'files')) as Navigation
+ || this.$navigation.views.find(view => view.id === 'files')) as View
},
/**