summaryrefslogtreecommitdiffstats
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.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/mixins/filesSorting.ts b/apps/files/src/mixins/filesSorting.ts
index 2ec3d94d67e..0457969c01b 100644
--- a/apps/files/src/mixins/filesSorting.ts
+++ b/apps/files/src/mixins/filesSorting.ts
@@ -47,7 +47,7 @@ export default Vue.extend({
*/
isAscSorting(): boolean {
const sortingDirection = this.getConfig(this.currentView.id)?.sorting_direction
- return sortingDirection === 'asc'
+ return sortingDirection !== 'desc'
},
},