Merge pull request #6310 from schrottsimon/bug/fix-select-all-episodes
Fix "Select All" for Search Results with more than 49 Items in a Row
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user