The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fixing BlockNote readability darkMode + fixing impossible to create cards for companies without name or domainName (#605)
Charles Bochet4150a7bb5121
diff --git a/front/src/modules/pipeline-progress/components/NewButton.tsx b/front/src/modules/pipeline-progress/components/NewButton.tsxindex 1ac8cebd036..e54b82b4e23 100644--- a/front/src/modules/pipeline-progress/components/NewButton.tsx+++ b/front/src/modules/pipeline-progress/components/NewButton.tsx@@ -42,7 +42,7 @@ export function NewButton({ pipelineId, columnId }: OwnProps) {const handleEntitySelect = useCallback(async (company: Pick<Company, 'id' | 'name' | 'domainName'>) => {- if (!company || !company.name || !company.domainName) return;+ if (!company) return;setIsCreatingCard(false);goBackToPreviousHotkeysScope();diff --git a/front/src/modules/ui/components/editor/BlockEditor.tsx b/front/src/modules/ui/components/editor/BlockEditor.tsxindex f86f85eb2c1..c6cd73a7b7b 100644--- a/front/src/modules/ui/components/editor/BlockEditor.tsx+++ b/front/src/modules/ui/components/editor/BlockEditor.tsx@@ -12,6 +12,7 @@ const StyledEditor = styled.div`& .editor {background: ${({ theme }) => theme.background.primary};font-size: 13px;+ color: ${({ theme }) => theme.font.color.primary};}& .editor [class^='_inlineContent']:before {color: ${({ theme }) => theme.font.color.tertiary};