mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
🐛 Overseerr air date undefined crash (#936)
This commit is contained in:
@@ -67,7 +67,7 @@ function MediaRequestListTile({ widget }: MediaRequestListWidgetProps) {
|
||||
/>
|
||||
<Stack spacing={0}>
|
||||
<Group spacing="xs">
|
||||
<Text>{item.airDate.split('-')[0]}</Text>
|
||||
{item.airDate && <Text>{item.airDate.split('-')[0]}</Text>}
|
||||
<MediaRequestStatusBadge status={item.status} />
|
||||
</Group>
|
||||
<Text
|
||||
|
||||
@@ -8,7 +8,7 @@ export type MediaRequest = {
|
||||
userName: string;
|
||||
userProfilePicture: string;
|
||||
userLink: string;
|
||||
airDate: string;
|
||||
airDate?: string;
|
||||
status: MediaRequestStatus;
|
||||
backdropPath: string;
|
||||
posterPath: string;
|
||||
|
||||
Reference in New Issue
Block a user