mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 23:45:48 +01:00
5 lines
225 B
TypeScript
5 lines
225 B
TypeScript
|
|
import { ConfigAppType, IntegrationField } from '../../types/app';
|
||
|
|
|
||
|
|
export const findAppProperty = (app: ConfigAppType, key: IntegrationField) =>
|
||
|
|
app.integration?.properties.find((prop) => prop.field === key)?.value ?? '';
|