Add link to planning from tablos

This commit is contained in:
Arthur Belleville 2025-07-09 08:03:19 +02:00
parent 6b4710a902
commit 01e194e767
No known key found for this signature in database
2 changed files with 9 additions and 1 deletions

View file

@ -71,6 +71,14 @@ export const App = () => {
</Layout>
}
/>
<Route
path="planning/:tablo_id"
element={
<Layout>
<PlanningPage />
</Layout>
}
/>
<Route
path="chantiers"
element={

View file

@ -68,7 +68,7 @@ export const TabloPage = () => {
},
{
name: "Planning",
action: (tabloId: string) => navigate(`/tablo/${tabloId}/planning`),
action: (tabloId: string) => navigate(`/planning/${tabloId}`),
},
{
name: "Notes",