🐛 Fix a bug with mediadisplay

This commit is contained in:
ajnart
2022-08-07 12:16:15 +02:00
parent a3bc9ab9f4
commit b489c07177

View File

@@ -27,6 +27,7 @@ export interface IMedia {
seasonNumber?: number;
plexUrl?: string;
episodeNumber?: number;
[key: string]: any;
}
const useStyles = createStyles((theme) => ({
@@ -86,7 +87,7 @@ export function MediaDisplay(props: { media: IMedia }) {
? () => window.open(media.plexUrl)
: () => {
// TODO: implement overseerr media requests
throw new Error('Need to implement media reqests');
console.log(media);
}
}
>