Skip to content

Commit

Permalink
Merge pull request #45537 from nextcloud/fix/remove-type-import
Browse files Browse the repository at this point in the history
fix(files): Adjust type import and usage for removed dependency
  • Loading branch information
Pytal authored May 27, 2024
2 parents bb1cb1c + 5ec7228 commit f0ec548
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions apps/files/src/views/FilesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
},
Expand Down
6 changes: 3 additions & 3 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

0 comments on commit f0ec548

Please sign in to comment.