Skip to content

Commit

Permalink
Merge pull request #6310 from schrottsimon/bug/fix-select-all-episodes
Browse files Browse the repository at this point in the history
Fix "Select All" for Search Results with more than 49 Items in a Row
  • Loading branch information
thornbill authored Jan 6, 2025
2 parents e4e9a7a + 4192cd8 commit 882b498
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/components/cardbuilder/cardBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1224,12 +1224,7 @@ export function buildCards(items, options) {
if (html) {
if (options.itemsContainer.cardBuilderHtml !== html) {
options.itemsContainer.innerHTML = html;

if (items.length < 50) {
options.itemsContainer.cardBuilderHtml = html;
} else {
options.itemsContainer.cardBuilderHtml = null;
}
options.itemsContainer.cardBuilderHtml = html;
}

imageLoader.lazyChildren(options.itemsContainer);
Expand Down
2 changes: 1 addition & 1 deletion src/components/multiSelect/multiSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function showMenuForSelectedItems(e) {
icon: 'check_box_outline_blank'
});

// this assues that if the user can refresh metadata for the first item
// this assures that if the user can refresh metadata for the first item
// they can refresh metadata for all items
if (itemHelper.canRefreshMetadata(firstItem, user)) {
menuItems.push({
Expand Down

0 comments on commit 882b498

Please sign in to comment.