mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-01 11:38:26 +01:00
fix: delete entire season wrong params
This commit is contained in:
@@ -107,7 +107,12 @@ export default function page() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "Delete",
|
text: "Delete",
|
||||||
onPress: () => deleteItems(groupBySeason),
|
onPress: () =>
|
||||||
|
deleteItems(
|
||||||
|
groupBySeason
|
||||||
|
.map((episode) => episode.Id!)
|
||||||
|
.filter((id) => id !== undefined),
|
||||||
|
),
|
||||||
style: "destructive",
|
style: "destructive",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user