mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
fix: use PremiereDate as default if missing from collection
This commit is contained in:
@@ -76,7 +76,7 @@ const page: React.FC = () => {
|
||||
navigation.setOptions({ title: collection?.Name || "" });
|
||||
setSortBy([
|
||||
{
|
||||
key: collection?.DisplayOrder as ItemSortBy,
|
||||
key: (collection?.DisplayOrder as ItemSortBy) ?? "PremiereDate",
|
||||
value: collection?.DisplayOrder ?? "Premiere Date",
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user