mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
feat: remove add to library
This commit is contained in:
parent
97c3b7d004
commit
67f4f349bb
2 changed files with 0 additions and 20 deletions
|
|
@ -79,16 +79,6 @@ const Discover = ({ urlParams, queryParams }) => {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!selectedMetaItem.inLibrary) {
|
||||
core.transport.dispatch({
|
||||
action: 'Ctx',
|
||||
args: {
|
||||
action: 'AddToLibrary',
|
||||
args: selectedMetaItem
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
core.transport.dispatch({
|
||||
action: 'Ctx',
|
||||
args: {
|
||||
|
|
|
|||
|
|
@ -69,16 +69,6 @@ const MetaDetails = ({ urlParams, queryParams }) => {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!metaDetails.metaItem.content.content.inLibrary) {
|
||||
core.transport.dispatch({
|
||||
action: 'Ctx',
|
||||
args: {
|
||||
action: 'AddToLibrary',
|
||||
args: metaDetails.metaItem.content.content
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
core.transport.dispatch({
|
||||
action: 'Ctx',
|
||||
args: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue