Todo : - replace all instances of useNavigate( - remove getSettingsPagePath - add eslint rule to enfore usage of useNavigateApp instead of useNavigate
28 lines
856 B
TypeScript
28 lines
856 B
TypeScript
import { ReactFlowProvider } from '@xyflow/react';
|
|
|
|
import { SettingsDataModelOverview } from '@/settings/data-model/graph-overview/components/SettingsDataModelOverview';
|
|
import { SettingsPath } from '@/types/SettingsPath';
|
|
import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';
|
|
import { getSettingsPath } from '~/utils/navigation/getSettingsPath';
|
|
|
|
export const SettingsObjectOverview = () => {
|
|
return (
|
|
<SubMenuTopBarContainer
|
|
links={[
|
|
{
|
|
children: 'Workspace',
|
|
href: getSettingsPath(SettingsPath.Workspace),
|
|
},
|
|
{ children: 'Objects', href: '/settings/objects' },
|
|
{
|
|
children: 'Overview',
|
|
},
|
|
]}
|
|
>
|
|
<ReactFlowProvider>
|
|
<SettingsDataModelOverview />
|
|
</ReactFlowProvider>
|
|
</SubMenuTopBarContainer>
|
|
);
|
|
};
|