mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 15:52:02 +00:00
disable pagination input if skip is manually entered in the url
This commit is contained in:
parent
95ab541c81
commit
67334bd073
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ const mapSelectableInputs = (discover) => {
|
||||||
};
|
};
|
||||||
return { title, options, selected, renderLabelText, onSelect };
|
return { title, options, selected, renderLabelText, onSelect };
|
||||||
});
|
});
|
||||||
const paginationInput = discover.selectable.has_prev_page || discover.selectable.has_next_page || selectedCatalogRequest.path.extra.some(([name]) => name === 'skip') ?
|
const paginationInput = discover.selectable.has_prev_page || discover.selectable.has_next_page ?
|
||||||
{
|
{
|
||||||
label: String(requestedPage),
|
label: String(requestedPage),
|
||||||
onSelect: (event) => {
|
onSelect: (event) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue