Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
2021
Kelas D
PT Gizi Sehat - Dietela
Dietela Mobile
Commits
ffdf8462
Commit
ffdf8462
authored
May 15, 2021
by
Doan Andreas Nathanael
Browse files
[CHORES] integrate profile diet recom with navigation
parent
a15a36d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/constants/navigation.ts
View file @
ffdf8462
...
...
@@ -28,6 +28,7 @@ import {
ComingSoonPage
,
ClientProfile
,
ClientProfileForAdmin
,
ProfileDietRecommendation
,
}
from
'
scenes
'
;
import
{
FC
}
from
'
react
'
;
...
...
@@ -165,6 +166,11 @@ export const nutritionistNavigation: NavRoute[] = [
component
:
ReadOnlyDietProfile
,
header
:
'
Profil Klien
'
,
},
{
name
:
ROUTES
.
profileDietRecommendation
,
component
:
ProfileDietRecommendation
,
header
:
'
Rekomendasi Profil Diet
'
,
},
];
export
const
adminNavigation
:
NavRoute
[]
=
[
...
...
src/constants/routes.ts
View file @
ffdf8462
...
...
@@ -29,3 +29,5 @@ export const clientListForNutritionist = `${nutritionist}/client-list`;
export
const
clientProfileNutritionist
=
`
${
nutritionist
}
/client-profile`
;
export
const
clientDietReportNutritionist
=
`
${
nutritionist
}
/client-diet-report`
;
export
const
clientChatNutritionist
=
`
${
nutritionist
}
/client-chat`
;
export
const
profileDietRecommendation
=
`
${
clientProfileNutritionist
}
/recommendation`
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment