Skip to content

Commit

Permalink
Merge branch 'release_24.0' into release_24.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Feb 6, 2025
2 parents 13f9977 + 1dcfdec commit 3bf2c26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,12 @@ export default {
}
});
return this.selected.length + unselectable === this.$refs.folder_content_table.computedItems.length;
const numComputedItems = this.$refs.folder_content_table.computedItems.length;
if (numComputedItems === 0 || numComputedItems === unselectable) {
return false;
}
return this.selected.length + unselectable === numComputedItems;
},
toggleSelect() {
this.unselected = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export default {
return this.folderContents.find((el) => el.type === "folder" || el.type === "file");
},
canDelete: function () {
return !!(this.contains_file_or_folder && this.is_admin);
return !!this.is_admin;
},
dataset_manipulation: function () {
const Galaxy = getGalaxyInstance();
Expand Down

0 comments on commit 3bf2c26

Please sign in to comment.