Skip to content
Snippets Groups Projects
Commit d0669adf authored by lfr20's avatar lfr20
Browse files

Added a logic to add one more tab, the admin area, to the authorized user

parent 3b20a493
No related branches found
No related tags found
4 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!40merge admin into develop,!37Merge sistema_admin into Update_Admin_System
......@@ -124,7 +124,7 @@ export default function MenuBar(props) {
//If the user has the permisson of editor or admin, it will display to him/her
//one more tab in the user area, the admin tab
if (state.userIsLoggedIn && (obj.id === 3 || obj.id === 7)) {
if (obj.id === 3 || obj.id === 7) {
minhaArea.push(
{ name: "Perfil e Atividades", href: "/perfil", value: '0' },
{ name: "Status e Conquistas", href: "/perfil", value: '1' },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment