Give an icon on the menu configuration

This commit is contained in:
Dita Aji Pratama 2024-09-26 21:35:05 +07:00
parent d6d51abf9b
commit 7ac06aa5ec

View File

@ -119,18 +119,21 @@ menu = {
], ],
"sidebar": [ "sidebar": [
{ {
"icon":"fa-solid fa-gauge",
"name":"Dashboard", "name":"Dashboard",
"target":"_self", "target":"_self",
"href":"/dashboard", "href":"/dashboard",
"roles":[1,2] "roles":[1,2]
}, },
{ {
"icon":"fa-solid fa-user-tag",
"name":"Roles", "name":"Roles",
"target":"_self", "target":"_self",
"href":"/dashboard/roles", "href":"/dashboard/roles",
"roles":[1] "roles":[1]
}, },
{ {
"icon":"fa-solid fa-address-card",
"name":"Users", "name":"Users",
"target":"_self", "target":"_self",
"href":"/dashboard/users", "href":"/dashboard/users",