mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 00:15:48 +01:00
🐛 Fix a bug with mediadisplay
This commit is contained in:
@@ -27,6 +27,7 @@ export interface IMedia {
|
|||||||
seasonNumber?: number;
|
seasonNumber?: number;
|
||||||
plexUrl?: string;
|
plexUrl?: string;
|
||||||
episodeNumber?: number;
|
episodeNumber?: number;
|
||||||
|
[key: string]: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
const useStyles = createStyles((theme) => ({
|
const useStyles = createStyles((theme) => ({
|
||||||
@@ -86,7 +87,7 @@ export function MediaDisplay(props: { media: IMedia }) {
|
|||||||
? () => window.open(media.plexUrl)
|
? () => window.open(media.plexUrl)
|
||||||
: () => {
|
: () => {
|
||||||
// TODO: implement overseerr media requests
|
// TODO: implement overseerr media requests
|
||||||
throw new Error('Need to implement media reqests');
|
console.log(media);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user