The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Make calendar event details readonly (#9638)
Raphaël Bosi77a11d30d39f
diff --git a/packages/twenty-front/src/modules/object-record/record-field/utils/isFieldValueReadOnly.ts b/packages/twenty-front/src/modules/object-record/record-field/utils/isFieldValueReadOnly.tsindex e3e59574d38..703be51be36 100644--- a/packages/twenty-front/src/modules/object-record/record-field/utils/isFieldValueReadOnly.ts+++ b/packages/twenty-front/src/modules/object-record/record-field/utils/isFieldValueReadOnly.ts@@ -36,6 +36,10 @@ export const isFieldValueReadOnly = ({return true;}+ if (objectNameSingular === CoreObjectNameSingular.CalendarEvent) {+ return true;+ }+if (objectNameSingular === CoreObjectNameSingular.Workflow &&fieldName !== 'name'