aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/mixins/filesSorting.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/mixins/filesSorting.ts')
-rw-r--r--apps/files/src/mixins/filesSorting.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/src/mixins/filesSorting.ts b/apps/files/src/mixins/filesSorting.ts
index 2f79a3eb171..e766ea631f3 100644
--- a/apps/files/src/mixins/filesSorting.ts
+++ b/apps/files/src/mixins/filesSorting.ts
@@ -23,14 +23,14 @@ import Vue from 'vue'
import { mapState } from 'pinia'
import { useViewConfigStore } from '../store/viewConfig'
-import type { Navigation } from '../services/Navigation'
+import type { NavigationService, Navigation } from '../services/Navigation'
export default Vue.extend({
computed: {
...mapState(useViewConfigStore, ['getConfig', 'setSortingBy', 'toggleSortingDirection']),
currentView(): Navigation {
- return this.$navigation.active
+ return (this.$navigation as NavigationService).active as Navigation
},
/**