The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
export const getSettingsAiModelsSectionVisibility = ({
isInboxEnabled,
canReadSystemPrompts,
}: {
isInboxEnabled: boolean;
canReadSystemPrompts: boolean;
}) => ({
isWorkspaceInstructionsSectionVisible: !isInboxEnabled,
isSystemPromptsSectionVisible: !isInboxEnabled && canReadSystemPrompts,
});