Commit 9b9632bc by Nattana Chaiyamat

เปลี่ยนชื่อเมนู

parent df8f225d
......@@ -118,10 +118,10 @@ export class SidebarComponent {
this.configPermission.data = new MyConfigPermissionModel(response)
this.menuItems.forEach(x => {
// เปิดทุกเมนู
// x.show = true
// x.children?.forEach(y => {
// y.show = true
// })
x.show = true
x.children?.forEach(y => {
y.show = true
})
// เปิดตาม config
const configMenu = this.configPermission.data.menuBody.find(y => y.id == x.id)
......
......@@ -97,7 +97,7 @@ export class NavService implements OnDestroy {
path: '/dashboard/projects',
id: 'm0',
show: true,
icon: 'assets/img/icons-menu/house_3781618.png',
icon: 'assets/img/icons-menu/house_3781618.png'
},
// {
// title: 'ประเมินผล',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment