Commit 9b9632bc by Nattana Chaiyamat

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

parent df8f225d
...@@ -118,10 +118,10 @@ export class SidebarComponent { ...@@ -118,10 +118,10 @@ export class SidebarComponent {
this.configPermission.data = new MyConfigPermissionModel(response) this.configPermission.data = new MyConfigPermissionModel(response)
this.menuItems.forEach(x => { this.menuItems.forEach(x => {
// เปิดทุกเมนู // เปิดทุกเมนู
// x.show = true x.show = true
// x.children?.forEach(y => { x.children?.forEach(y => {
// y.show = true y.show = true
// }) })
// เปิดตาม config // เปิดตาม config
const configMenu = this.configPermission.data.menuBody.find(y => y.id == x.id) const configMenu = this.configPermission.data.menuBody.find(y => y.id == x.id)
......
...@@ -97,7 +97,7 @@ export class NavService implements OnDestroy { ...@@ -97,7 +97,7 @@ export class NavService implements OnDestroy {
path: '/dashboard/projects', path: '/dashboard/projects',
id: 'm0', id: 'm0',
show: true, show: true,
icon: 'assets/img/icons-menu/house_3781618.png', icon: 'assets/img/icons-menu/house_3781618.png'
}, },
// { // {
// title: 'ประเมินผล', // 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