This commit is contained in:
ajnart committed 2022-12-20 11:45:33 +09:00
1 parent 79d7042cd9
commit 4d6e6123e1
32 files changed
+74 -125

No files matched your search

+1 -2
View File
@@ -10,5 +10,4 @@ export const useGetServiceByType = (...serviceTypes: ServiceType[]) => {
export const getServiceByType = (config: Config, ...serviceTypes: ServiceType[]) =>
config.apps.filter((s) => serviceTypes.includes(s.type));
export const getServiceById = (config: Config, id: string) =>
config.apps.find((s) => s.id === id);
export const getServiceById = (config: Config, id: string) => config.apps.find((s) => s.id === id);