Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Jan 14, 2025
1 parent 05eb792 commit 23aa3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staticfiles/static/js/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let app = new Vue({
fetch('/api/file')
.then(resp => resp.json())
.then(function (data) {
vm.mp = data.sort((a, b) => a.Scope.localeCompare(b.Scope) || a.Name.toLowerCase().localeCompare(b.Name.toLowerCase()));
vm.mp = data.sort((a, b) => a.Scope.localeCompare(b.Scope) || a.FileName.toLowerCase().localeCompare(b.FileName.toLowerCase()));
vm.ts += 1;
});
},
Expand Down

0 comments on commit 23aa3d2

Please sign in to comment.