penambahan form edit dan view
This commit is contained in:
@@ -43,7 +43,18 @@ import { ModalAddEditComponent } from './modal-add-edit/modal-add-edit.component
|
||||
},
|
||||
{
|
||||
path: 'add-row',
|
||||
component: AddEditDeviceComponent
|
||||
component: AddEditDeviceComponent,
|
||||
data: { mode: 'add' }
|
||||
},
|
||||
{
|
||||
path: 'edit/:id',
|
||||
component: AddEditDeviceComponent,
|
||||
data: { mode: 'edit' }
|
||||
},
|
||||
{
|
||||
path: 'view/:id',
|
||||
component: AddEditDeviceComponent,
|
||||
data: { mode: 'view' }
|
||||
}
|
||||
])
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user