💄 Very small UI changes

This commit is contained in:
ajnart
2022-08-10 14:13:20 +02:00
parent 2e8dff346e
commit 3d63226372
2 changed files with 14 additions and 12 deletions

View File

@@ -211,26 +211,28 @@ export function MediaDisplay({ media }: { media: IMedia }) {
</Button> </Button>
)} )}
{media.imdbId && ( {media.imdbId && (
<ActionIcon <Button
component="a" component="a"
target="_blank" target="_blank"
href={`https://www.imdb.com/title/${media.imdbId}`} href={`https://www.imdb.com/title/${media.imdbId}`}
variant="outline" variant="outline"
size="lg" size="sm"
rightIcon={<IconExternalLink size={15} />}
> >
<IconExternalLink /> IMDb
</ActionIcon> </Button>
)} )}
{media.overseerrId && ( {media.overseerrId && (
<ActionIcon <Button
component="a" component="a"
target="_blank" target="_blank"
href={media.overseerrId} href={media.overseerrId}
variant="outline" variant="outline"
size="lg" size="sm"
rightIcon={<IconExternalLink size={15} />}
> >
<IconExternalLink /> TMDb
</ActionIcon> </Button>
)} )}
{media.type === 'overseer' && !media.overseerrResult?.mediaInfo?.mediaAddedAt && ( {media.type === 'overseer' && !media.overseerrResult?.mediaInfo?.mediaAddedAt && (
<> <>

View File

@@ -13,10 +13,6 @@ export const DashdotModule = asModule({
icon: CalendarIcon, icon: CalendarIcon,
component: DashdotComponent, component: DashdotComponent,
options: { options: {
url: {
name: 'Dash. URL',
value: '',
},
cpuMultiView: { cpuMultiView: {
name: 'CPU Multi-Core View', name: 'CPU Multi-Core View',
value: false, value: false,
@@ -34,6 +30,10 @@ export const DashdotModule = asModule({
value: ['CPU', 'RAM', 'Storage', 'Network'], value: ['CPU', 'RAM', 'Storage', 'Network'],
options: ['CPU', 'RAM', 'Storage', 'Network', 'GPU'], options: ['CPU', 'RAM', 'Storage', 'Network', 'GPU'],
}, },
url: {
name: 'Dash. URL',
value: '',
},
}, },
}); });