mirror of
https://github.com/ajnart/homarr.git
synced 2026-09-02 06:37:57 +02:00
refactor: use relative TS path
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ConfigAppType, IntegrationField, IntegrationType } from '../../types/app';
|
||||
import { ConfigAppType, IntegrationField, IntegrationType } from '~/types/app';
|
||||
|
||||
export const findAppProperty = (app: ConfigAppType, key: IntegrationField) =>
|
||||
app.integration?.properties.find((prop) => prop.field === key)?.value ?? '';
|
||||
|
||||
Reference in New Issue
Block a user