mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 07:55:52 +01:00
🐛 Fix a bug with mediadisplay
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user