mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Update query limits for Watchlist page, also ensure Watchlist button is visible/hidden based on the Played state of an item
This commit is contained in:
1 parent
9e84310353
commit
12711437fa
2 files changed
+2
-6
No files matched your search
@@ -2241,10 +2241,7 @@ div[data-tab="watchlist"] .loading-message {
|
||||
}
|
||||
|
||||
.card:has(button[data-played="true"]) .watchlist-button,
|
||||
.card:not(:has(button[data-played], button:has([data-testid="CheckIcon"]))) .watchlist-button,
|
||||
.mainDetailButtons:has(button[data-played="true"]) .watchlist-icon,
|
||||
.mainDetailButtons:not(:has(button[data-played], button:has([data-testid="CheckIcon"]))) .watchlist-icon,
|
||||
.mainDetailButtons:not(:has(button[data-played], button:has([data-testid="CheckIcon"]))) .btnRecommend {
|
||||
.mainDetailButtons:has(button[data-played].playstatebutton-played) .watchlist-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -3121,8 +3121,7 @@ In the Custom Tabs plugin, add a new tab with the following HTML content:
|
||||
}
|
||||
const result = await apiHelper.getWatchlistItems({
|
||||
IncludeItemTypes: WATCHLIST_SUPPORTED_TYPES_CSV,
|
||||
Fields: 'Id',
|
||||
Limit: 10000
|
||||
Limit: 1000
|
||||
}, true);
|
||||
watchlistLikedIds.clear();
|
||||
mergeLikedIdsFromItems(result);
|
||||
|
||||
Reference in new issue
Block a user