diff --git a/ui/src/components/AddModal/index.tsx b/ui/src/components/AddModal/index.tsx index a740655b..51fed516 100644 --- a/ui/src/components/AddModal/index.tsx +++ b/ui/src/components/AddModal/index.tsx @@ -81,7 +81,7 @@ const AddModal = (props: IAddModal) => { setForceRemovalCheck(false) PostApiHandler(`/collections/media/add`, { mediaId: props.plexId, - context: { id: -1, type: EPlexDataType.SHOWS }, + context: { id: -1, type: props.type }, collectionId: undefined, action: 1, })