mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 00:15:48 +01:00
🔀 Merge Mantine v5.0 into Overseerr-integaration
This commit is contained in:
@@ -86,7 +86,10 @@ export type ServiceType =
|
||||
| 'Overseerr'
|
||||
| 'Transmission';
|
||||
|
||||
export function tryMatchPort(name: string, form?: any) {
|
||||
export function tryMatchPort(name: string | undefined, form?: any) {
|
||||
if (!name) {
|
||||
return undefined;
|
||||
}
|
||||
// Match name with portmap key
|
||||
const port = portmap.find((p) => p.name === name.toLowerCase());
|
||||
if (form && port) {
|
||||
|
||||
Reference in New Issue
Block a user