mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-16 15:44:49 +00:00
map addons for every meta_resource in useMetaDetails
This commit is contained in:
parent
b4d1af3b33
commit
80c9f25f10
1 changed files with 4 additions and 1 deletions
|
|
@ -43,7 +43,10 @@ const mapMetaDetailsStateWithCtx = (meta_details, ctx) => {
|
|||
addon: ctx.profile.addons.find((addon) => addon.transportUrl === meta_resource.request.base)
|
||||
}
|
||||
:
|
||||
meta_resource;
|
||||
{
|
||||
...meta_resource,
|
||||
addon: ctx.profile.addons.find((addon) => addon.transportUrl === meta_resource.request.base)
|
||||
}
|
||||
});
|
||||
const streams_resources = meta_details.streams_resources.map((stream_resource) => {
|
||||
return stream_resource.content.type === 'Ready' ?
|
||||
|
|
|
|||
Loading…
Reference in a new issue