mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
redirect to full continuewatching list from board
This commit is contained in:
parent
8200d58e8d
commit
a0367c8b66
2 changed files with 3 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ const Board = () => {
|
|||
title={'Continue Watching'}
|
||||
items={continueWatchingPreview.lib_items}
|
||||
itemComponent={LibItem}
|
||||
href={continueWatchingPreview.href}
|
||||
/>
|
||||
:
|
||||
null
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@ const mapContinueWatchingPreviewState = (continue_watching_preview) => {
|
|||
null,
|
||||
href: `#/metadetails/${encodeURIComponent(lib_item.type)}/${encodeURIComponent(lib_item._id)}${lib_item.state.video_id !== null ? `/${encodeURIComponent(lib_item.state.video_id)}` : ''}`
|
||||
}));
|
||||
return { lib_items };
|
||||
const href = '#/continuewatching';
|
||||
return { lib_items, href };
|
||||
};
|
||||
|
||||
const useContinueWatchingPreview = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue