mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +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.dispatch({
|
||||
action: 'Load',
|
||||
model: 'Discover',
|
||||
args: {
|
||||
load: 'CatalogFiltered',
|
||||
action: 'Load',
|
||||
args: {
|
||||
base: addonTransportUrl,
|
||||
path: {
|
||||
resource: 'catalog',
|
||||
type_name: type,
|
||||
id: catalogId,
|
||||
extra: [] // TODO
|
||||
load: 'CatalogFiltered',
|
||||
args: {
|
||||
base: addonTransportUrl,
|
||||
path: {
|
||||
resource: 'catalog',
|
||||
type_name: type,
|
||||
id: catalogId,
|
||||
extra: [] // TODO
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue