perbaikan routing monitoring
This commit is contained in:
		
							parent
							
								
									fcdafc8aea
								
							
						
					
					
						commit
						970c903ff4
					
				| @ -899,19 +899,19 @@ export const MenuSettingsConfig: MenuConfig = { | |||||||
|       { |       { | ||||||
|         title: 'Monitoring', |         title: 'Monitoring', | ||||||
|         icon: 'feather ft-monitor', |         icon: 'feather ft-monitor', | ||||||
|         page: 'null', |         page: '/monitoring', | ||||||
|         submenu: { |         // submenu: {
 | ||||||
|           items: [ |         //   items: [
 | ||||||
|            { |         //    {
 | ||||||
|               title: 'Monitoring Building', |         //       title: 'Monitoring Building',
 | ||||||
|               page: '/monitoring/monitoring-building' |         //       page: '/monitoring/monitoring-building'
 | ||||||
|             }, |         //     },
 | ||||||
|             { |         //     {
 | ||||||
|               title: 'Monitoring Room', |         //       title: 'Monitoring Room',
 | ||||||
|               page: '/monitoring/monitoring-room' |         //       page: '/monitoring/monitoring-room'
 | ||||||
|             },            |         //     },           
 | ||||||
|           ] |         //   ]
 | ||||||
|         } |         // }
 | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|         title: 'Device', |         title: 'Device', | ||||||
|  | |||||||
| @ -126,6 +126,7 @@ | |||||||
|                       <button |                       <button | ||||||
|                         type="button" |                         type="button" | ||||||
|                         class="btn btn-float btn-square btn-outline-secondary" |                         class="btn btn-float btn-square btn-outline-secondary" | ||||||
|  |                         [routerLink]="['/monitoring/monitoring-room']" | ||||||
|                       > |                       > | ||||||
|                         <i class="feather ft-log-in"></i> |                         <i class="feather ft-log-in"></i> | ||||||
|                       </button> |                       </button> | ||||||
|  | |||||||
| @ -37,7 +37,7 @@ import { BreadcrumbModule } from 'src/app/_layout/breadcrumb/breadcrumb.module'; | |||||||
|     }), |     }), | ||||||
|     RouterModule.forChild([ |     RouterModule.forChild([ | ||||||
|       { |       { | ||||||
|         path: 'monitoring-building', |         path: '', | ||||||
|         component: BuildingComponent |         component: BuildingComponent | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user