Skip to content

Commit

Permalink
order in spaces fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-nv authored and LukasHirt committed Oct 25, 2023
1 parent ebd9fdd commit 9132277
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/web-app-files/src/views/spaces/Projects.vue
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ import {
useSort,
useStore,
useRouteName,
SortDir,
usePagination,
useRouter,
useRoute
Expand Down Expand Up @@ -263,11 +262,7 @@ export default defineComponent({
return searchEngine.search(filterTerm).map((r) => r.item)
}
const items = computed(() =>
orderBy(
filter(unref(spaces), unref(filterTerm)),
unref(sortBy),
unref(sortDir) === SortDir.Desc
)
orderBy(filter(unref(spaces), unref(filterTerm)), unref(sortBy), unref(sortDir))
)
const {
Expand Down

0 comments on commit 9132277

Please sign in to comment.