From 732d66a66b2f452d64f21dee4d6f83d88aec61f0 Mon Sep 17 00:00:00 2001 From: jorenn92 Date: Mon, 11 Dec 2023 09:27:08 +0100 Subject: [PATCH] refactor(collections): Fix broken 'remove from all collections' for movies --- ui/src/components/AddModal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, })