From 9e0aac06ac255ac3605c0c9991695ed7331e02fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C5=A1per=20Grom?= Date: Fri, 20 Sep 2024 12:18:08 +0200 Subject: [PATCH] Fix displaying of sources --- frontend/src/integrations/integrations-config.js | 6 ++---- .../identity/contributor-details-identity-item.vue | 13 ++++++++++--- .../domains/organization-details-domain-item.vue | 2 +- .../email/organization-details-email-item.vue | 2 +- .../identity/organization-details-identity-item.vue | 2 +- .../attributes/organization-attribute-source.vue | 2 +- frontend/src/shared/helpers/attribute.helpers.ts | 2 +- 7 files changed, 17 insertions(+), 12 deletions(-) diff --git a/frontend/src/integrations/integrations-config.js b/frontend/src/integrations/integrations-config.js index d07d1942ab..9a07d50f15 100644 --- a/frontend/src/integrations/integrations-config.js +++ b/frontend/src/integrations/integrations-config.js @@ -107,11 +107,8 @@ class IntegrationsConfig { return platforms .filter((platform) => !['integration_or_enrichment', 'email', 'integration', 'unknown', 'delete'].includes(platform)) .map((platform) => { - if (platform === 'lfid') { - return 'LFID'; - } if (['enrichment', 'peopledatalabs'].includes(platform)) { - return 'Enrichment'; + return ' Enrichment'; } if (platform === 'custom') { return 'Manually added'; @@ -124,6 +121,7 @@ class IntegrationsConfig { return { cvent, lfx, + lfid: lfx, tnc, training_cert: tnc, }; diff --git a/frontend/src/modules/contributor/components/details/identity/contributor-details-identity-item.vue b/frontend/src/modules/contributor/components/details/identity/contributor-details-identity-item.vue index e23e035b4c..2f0b45be92 100644 --- a/frontend/src/modules/contributor/components/details/identity/contributor-details-identity-item.vue +++ b/frontend/src/modules/contributor/components/details/identity/contributor-details-identity-item.vue @@ -40,13 +40,20 @@ > {{ props.identity.value }} -

- {{ props.identity.platform }} +

+

-

+

Source:

diff --git a/frontend/src/modules/organization/components/details/domains/organization-details-domain-item.vue b/frontend/src/modules/organization/components/details/domains/organization-details-domain-item.vue index 785af3acce..fcfc4e6c87 100644 --- a/frontend/src/modules/organization/components/details/domains/organization-details-domain-item.vue +++ b/frontend/src/modules/organization/components/details/domains/organization-details-domain-item.vue @@ -60,7 +60,7 @@ -
+

Source:

diff --git a/frontend/src/modules/organization/components/details/email/organization-details-email-item.vue b/frontend/src/modules/organization/components/details/email/organization-details-email-item.vue index 87ab906d6b..65e6256ea1 100644 --- a/frontend/src/modules/organization/components/details/email/organization-details-email-item.vue +++ b/frontend/src/modules/organization/components/details/email/organization-details-email-item.vue @@ -32,7 +32,7 @@
-

+

Source:

diff --git a/frontend/src/modules/organization/components/details/identity/organization-details-identity-item.vue b/frontend/src/modules/organization/components/details/identity/organization-details-identity-item.vue index 6a7f11a9e2..f6e99af4bd 100644 --- a/frontend/src/modules/organization/components/details/identity/organization-details-identity-item.vue +++ b/frontend/src/modules/organization/components/details/identity/organization-details-identity-item.vue @@ -29,7 +29,7 @@