Feat/show page metadata (#2234)

* Fix view fetch bug

* Finished types

* Removed console.log

* Fixed todo

* Working Object Show Page

* Minor fixes

* Fix custom object requests pending (#2240)

* Fix custom object requests pending

* fix typo

* Fix various bugs

* Typo

* Fix

* Fix

* Fix

---------

Co-authored-by: Weiko <corentin@twenty.com>
This commit is contained in:
Lucas Bordeau
2023-10-27 11:06:07 +02:00
committed by GitHub
parent 5ba68e997d
commit 3f2e1b622e
28 changed files with 335 additions and 33 deletions

View File

@ -1,5 +1,6 @@
import { Navigate, Route, Routes, useLocation } from 'react-router-dom';
import { ObjectShowPage } from '@/metadata/components/ObjectShowPage';
import { AppPath } from '@/types/AppPath';
import { SettingsPath } from '@/types/SettingsPath';
import { DefaultLayout } from '@/ui/layout/page/DefaultLayout';
@ -63,6 +64,7 @@ export const App = () => {
<Route path={AppPath.OpportunitiesPage} element={<Opportunities />} />
<Route path={AppPath.ObjectTablePage} element={<ObjectTablePage />} />
<Route path={AppPath.ObjectShowPage} element={<ObjectShowPage />} />
<Route
path={AppPath.SettingsCatchAll}