diff --git a/app/components/Navbar.php b/app/components/Navbar.php index 668408d38d7d3e5fe8a2120753eed48a7dc0f32b..354887d9108519dc4dc34aa2508f116317aa2170 100644 --- a/app/components/Navbar.php +++ b/app/components/Navbar.php @@ -17,18 +17,11 @@ </a> </li> <?php if(isset($_SESSION['username'])):?> - <?php if($_SESSION["role"]=='customer'):?> - <li> - <a class="book-list" href="#"> - <img src="<?= BASE_URL ?>/icon/dashboard.svg" alt="Dashboard Icon"> - Dashboard - </a> - </li> - <?php elseif($_SESSION["role"]=='admin') :?> + <?php if($_SESSION["role"]=='admin') :?> <li> <a class="customer" href="/user/update"> <img src="<?= BASE_URL ?>/icon/dashboard.svg" alt="Customer Icon"> - Customers + Users </a> </li> <li>