mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 03:22:11 +00:00
discover core message adapted to changes in core
This commit is contained in:
parent
889563f1fa
commit
21890c72bd
1 changed files with 11 additions and 8 deletions
|
|
@ -55,16 +55,19 @@ const useCatalog = (urlParams, queryParams) => {
|
||||||
};
|
};
|
||||||
core.on('NewModel', onNewModel);
|
core.on('NewModel', onNewModel);
|
||||||
core.dispatch({
|
core.dispatch({
|
||||||
action: 'Load',
|
model: 'Discover',
|
||||||
args: {
|
args: {
|
||||||
load: 'CatalogFiltered',
|
action: 'Load',
|
||||||
args: {
|
args: {
|
||||||
base: addonTransportUrl,
|
load: 'CatalogFiltered',
|
||||||
path: {
|
args: {
|
||||||
resource: 'catalog',
|
base: addonTransportUrl,
|
||||||
type_name: type,
|
path: {
|
||||||
id: catalogId,
|
resource: 'catalog',
|
||||||
extra: [] // TODO
|
type_name: type,
|
||||||
|
id: catalogId,
|
||||||
|
extra: [] // TODO
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue