Skip to content

The open alternative to Salesforce, designed for AI.

410 B
Raw Blame
import { t } from '@lingui/core/macro';
import { SettingsPath } from 'twenty-shared/types';
import { getSettingsPath } from 'twenty-shared/utils';

export const getSettingsAiBreadcrumbLinks = (currentPageLabel: string) => [
  {
    children: t`Workspace`,
    href: getSettingsPath(SettingsPath.General),
  },
  { children: t`AI`, href: getSettingsPath(SettingsPath.AI) },
  { children: currentPageLabel },
];