aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/mixins/filesSorting.ts
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-08-09 14:59:35 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-08-17 18:56:37 +0200
commit410f58e43e8db767eaf0b272ab6ffde1841cd6a2 (patch)
tree5f0d2812ce7cce75b6b72c3652c81f7ae3c26bfd /apps/files/src/mixins/filesSorting.ts
parent998b3a2581fb873b03bcf4dc02eafb19390b3cd6 (diff)
downloadnextcloud-server-410f58e43e8db767eaf0b272ab6ffde1841cd6a2.tar.gz
nextcloud-server-410f58e43e8db767eaf0b272ab6ffde1841cd6a2.zip
chore(files): add Headers, remove legacy methods and cleanup
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
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
},
/**