Merge pull request #45537 from nextcloud/fix/remove-type-import

fix(files): Adjust type import and usage for removed dependency
This commit is contained in:
Pytal 2024-05-27 16:51:38 -07:00 committed by GitHub
commit f0ec5489a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 6 deletions

View file

@ -119,7 +119,6 @@
import type { View, ContentsWithRoot } from '@nextcloud/files'
import type { Upload } from '@nextcloud/upload'
import type { CancelablePromise } from 'cancelable-promise'
import type { Order } from 'natural-orderby'
import type { Route } from 'vue-router'
import type { UserConfig } from '../types.ts'
@ -302,7 +301,7 @@ export default defineComponent({
this.isAscSorting ? 'asc' : 'desc',
// for 5: use configured sorting direction
this.isAscSorting ? 'asc' : 'desc',
] as Order[]
] as ('asc'|'desc')[]
return [identifiers, orders] as const
},

6
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long