2 Commits 0dfaa3edc9 ... 59c1afbf05

Author SHA1 Message Date
  Tanya Sashyna 59c1afbf05 Merge branch 'dev' of http://gitlab.a-level.com.ua/Entony/FEA_12_TRIATHLON into dev 5 years ago
  Tanya Sashyna b59abc334e fix sidebar 5 years ago
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/components/sidebar/Sidebar.js

+ 3 - 1
src/components/sidebar/Sidebar.js

@@ -77,7 +77,9 @@ export class Sidebar extends React.Component {
                                 </button>
                                 </button>
                             </li>
                             </li>
 						}
 						}
-						
+                        {
+                            role === 'admin' && <li><Link to="/admin">Admin panel</Link></li>
+                        }
                     </ul>
                     </ul>
                 </nav>
                 </nav>
                 <div className="menu-skew">
                 <div className="menu-skew">