Add link to planning from tablos
This commit is contained in:
parent
6b4710a902
commit
01e194e767
2 changed files with 9 additions and 1 deletions
|
|
@ -71,6 +71,14 @@ export const App = () => {
|
|||
</Layout>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="planning/:tablo_id"
|
||||
element={
|
||||
<Layout>
|
||||
<PlanningPage />
|
||||
</Layout>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="chantiers"
|
||||
element={
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ export const TabloPage = () => {
|
|||
},
|
||||
{
|
||||
name: "Planning",
|
||||
action: (tabloId: string) => navigate(`/tablo/${tabloId}/planning`),
|
||||
action: (tabloId: string) => navigate(`/planning/${tabloId}`),
|
||||
},
|
||||
{
|
||||
name: "Notes",
|
||||
|
|
|
|||
Loading…
Reference in a new issue