The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix: Extend regex in Linkedin Field to support LinkedIn school URL (#4198)
Elton Goh Jun Haoe0b2cc76517c
diff --git a/packages/twenty-front/src/utils/getDisplayValueByUrlType.ts b/packages/twenty-front/src/utils/getDisplayValueByUrlType.tsindex 80183962c7e..e92e28540b7 100644--- a/packages/twenty-front/src/utils/getDisplayValueByUrlType.ts+++ b/packages/twenty-front/src/utils/getDisplayValueByUrlType.ts@@ -11,7 +11,7 @@ export const getDisplayValueByUrlType = ({}: getUrlDisplayValueByUrlTypeProps) => {if (type === 'linkedin') {const matches = href.match(- /(?:https?:\/\/)?(?:www.)?linkedin.com\/(?:in|company)\/(.*)/,+ /(?:https?:\/\/)?(?:www.)?linkedin.com\/(?:in|company|school)\/(.*)/,);if (matches && matches[1]) {return matches[1];