From 720c30c1169f660be09e46d197b50638417fda3f Mon Sep 17 00:00:00 2001 From: nael Date: Wed, 31 Jan 2024 10:48:58 +0100 Subject: [PATCH] :bug: Fix --- ...{freshsales_logo.webp => freshsales_logo.png} | Bin .../{pipedrive_logo.jpeg => pipedrive_logo.png} | Bin .../ticketing/{front.png => front_logo.png} | Bin .../public/assets/ticketing/zendesk_tcg_logo.png | Bin 0 -> 8267 bytes apps/embedded-catalog/react/src/App.tsx | 2 +- apps/embedded-catalog/react/src/lib/index.tsx | 8 +++++--- 6 files changed, 6 insertions(+), 4 deletions(-) rename apps/embedded-catalog/react/public/assets/crm/{freshsales_logo.webp => freshsales_logo.png} (100%) rename apps/embedded-catalog/react/public/assets/crm/{pipedrive_logo.jpeg => pipedrive_logo.png} (100%) rename apps/embedded-catalog/react/public/assets/ticketing/{front.png => front_logo.png} (100%) create mode 100644 apps/embedded-catalog/react/public/assets/ticketing/zendesk_tcg_logo.png diff --git a/apps/embedded-catalog/react/public/assets/crm/freshsales_logo.webp b/apps/embedded-catalog/react/public/assets/crm/freshsales_logo.png similarity index 100% rename from apps/embedded-catalog/react/public/assets/crm/freshsales_logo.webp rename to apps/embedded-catalog/react/public/assets/crm/freshsales_logo.png diff --git a/apps/embedded-catalog/react/public/assets/crm/pipedrive_logo.jpeg b/apps/embedded-catalog/react/public/assets/crm/pipedrive_logo.png similarity index 100% rename from apps/embedded-catalog/react/public/assets/crm/pipedrive_logo.jpeg rename to apps/embedded-catalog/react/public/assets/crm/pipedrive_logo.png diff --git a/apps/embedded-catalog/react/public/assets/ticketing/front.png b/apps/embedded-catalog/react/public/assets/ticketing/front_logo.png similarity index 100% rename from apps/embedded-catalog/react/public/assets/ticketing/front.png rename to apps/embedded-catalog/react/public/assets/ticketing/front_logo.png diff --git a/apps/embedded-catalog/react/public/assets/ticketing/zendesk_tcg_logo.png b/apps/embedded-catalog/react/public/assets/ticketing/zendesk_tcg_logo.png new file mode 100644 index 0000000000000000000000000000000000000000..697e340fbfff5b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5+)w=*!UEPBbMmoQ?E5^;0r4fc=5|0Tl+8MSbEE|+>=6> zbM283oruZvv+kWa*5TciPwQyzz$8Ave)C@tv8dvO17n9*L)zO1 z6t!^Cd}9rKo%UkJLzYnf2Iz9IMsNzZ?ebhr)5f8t5?-P=)pYB$S%7db$E9?;q&T8* z9?DhGjC?SH^ee!BA@PzW3kd2i)&A~;Ux|jTJU8xwt{N{$w-{eIa)tt_vi%YW_Hd?2 z-!fL_C0m|3(%T1mRfb8;oa*>JqQN+`<2>1={bEJP^bTxc#8MaMh?S5_9=Kd#CrCcH z#z0$l^W(?Lf)rL`vY!H(_nfQ4W(h-fXBES2s?XMtcg3j`C)f*m&BNYNq9a0PyF+=@ zocL%iBq?`VxV0n-^H>4)+#Wm}#t>2+gbCL|?-=A>%Db(EebzWmaoo=bB1oUDb+6Y- zt6`t57)KJbBDJ@>Z;;tI z>DJH%H)^UW^qLQPb6{t4ulrtrozxJ%%a@Xpf(yET3%}7wJd&3+*EoRN&kIzRS1AKx zk6uL{Yi|3FT%g9MnoD4;5h*OUis@;D{3N)?FcPr!+g%dX znEGG?wi`PUo;e@(rJ@s`01jL8=J=thE@kX9cZq-AO~~ee z*PO&Mq>%wm5W`+_@JxQ|CE>ihu^PIC0uHSoh({JqAk5iyBQKs{9s9ny2J4;ZVnJquSW8B1p? zcmWs1E?y83lMuNmc1!G%jJTAH#06n7F&Qy2gX4x<|82q}hkFmKz5e$Jr?1Z`!U;fK MS?7AeHS@s#0C&hei~s-t literal 0 HcmV?d00001 diff --git a/apps/embedded-catalog/react/src/App.tsx b/apps/embedded-catalog/react/src/App.tsx index 3080bbc24..fbc7b2cf4 100644 --- a/apps/embedded-catalog/react/src/App.tsx +++ b/apps/embedded-catalog/react/src/App.tsx @@ -10,7 +10,7 @@ function App() {

- +

diff --git a/apps/embedded-catalog/react/src/lib/index.tsx b/apps/embedded-catalog/react/src/lib/index.tsx index 288345840..a42975e46 100644 --- a/apps/embedded-catalog/react/src/lib/index.tsx +++ b/apps/embedded-catalog/react/src/lib/index.tsx @@ -1,5 +1,5 @@ import config from '@/helpers/config'; -import { getDescription } from '@/helpers/utils'; +import { findProviderVertical, getDescription } from '@/helpers/utils'; import useLinkedUserMutation from '@/hooks/mutations/useLinkedUserMutation'; import useLinkedUser from '@/hooks/queries/useLinkedUserId'; import useOAuth from '@/hooks/useOAuth'; @@ -23,6 +23,8 @@ const ProviderCard = ({name, projectId, linkedUserIdOrRemoteUserInfo}: ProviderC const [originId, setOriginId] = useState("") const [loading, setLoading] = useState(false) + const vertical = findProviderVertical(name.toLowerCase()) + console.log("vertical "+ vertical) const { mutate } = useLinkedUserMutation(); const {data: linkedUser} = useLinkedUser(originId); @@ -75,9 +77,9 @@ const ProviderCard = ({name, projectId, linkedUserIdOrRemoteUserInfo}: ProviderC >