♻️ Pull request comments

This commit is contained in:
Manuel
2023-03-22 13:29:00 +01:00
parent 4c9d1a1c01
commit 0d6346c73a
7 changed files with 24 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
import { MantineTheme } from '@mantine/core';
import { OptionValues } from '../modules/ModuleTypes';
export interface Settings {
@@ -74,6 +75,12 @@ export type ServiceType =
| 'Sabnzbd'
| 'NZBGet';
/**
* @deprecated
* @param name the name to match
* @param form the form
* @returns the port from the map
*/
export function tryMatchPort(name: string | undefined, form?: any) {
if (!name) {
return undefined;