Browse Source

Merge pull request #28164 from nextcloud/fix/file-multiselect-actions-sort

Fix sort function of files multiple selection actions
tags/v23.0.0beta1
Julien Veyssier 2 years ago
parent
commit
4c400a0283
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/files/js/filelist.js

+ 1
- 1
apps/files/js/filelist.js View File

@@ -1506,7 +1506,7 @@
return;
}
this.fileMultiSelectMenu = new OCA.Files.FileMultiSelectMenu(this.multiSelectMenuItems.sort(function(a, b) {
return a.order > b.order
return a.order - b.order
}));
this.fileMultiSelectMenu.render();
this.$el.find('.selectedActions .filesSelectMenu').remove();

Loading…
Cancel
Save