mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-01-11 20:10:25 +00:00
Update ContinueWatchingSection to display all items without limit
This change modifies the ContinueWatchingSection component to show all continue watching items instead of limiting the display to 10. This adjustment enhances user experience by providing access to the complete list of items being watched.
This commit is contained in:
parent
6227a78665
commit
4b7dea1bc5
1 changed files with 2 additions and 4 deletions
|
|
@ -187,10 +187,8 @@ const ContinueWatchingSection = React.forwardRef<ContinueWatchingRef>((props, re
|
|||
// Sort by last updated time (most recent first)
|
||||
progressItems.sort((a, b) => b.lastUpdated - a.lastUpdated);
|
||||
|
||||
// Limit to 10 items
|
||||
const finalItems = progressItems.slice(0, 10);
|
||||
|
||||
setContinueWatchingItems(finalItems);
|
||||
// Show all continue watching items (no limit)
|
||||
setContinueWatchingItems(progressItems);
|
||||
} catch (error) {
|
||||
logger.error('Failed to load continue watching items:', error);
|
||||
} finally {
|
||||
|
|
|
|||
Loading…
Reference in a new issue