mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 23:59:08 +00: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