feat: add datatable tabs in clients view component
- add datatable-tab component - add single-row component - add multi-row component fixes: #431
This commit is contained in:
committed by
Abhay Chawla
parent
b80ef7910b
commit
c2bd5d1444
@@ -12,13 +12,18 @@ import { ClientsService } from '../clients.service';
|
||||
})
|
||||
export class ClientsViewComponent implements OnInit {
|
||||
clientViewData: any;
|
||||
clientDatatables: any;
|
||||
clientImage: any;
|
||||
clientTemplate: any;
|
||||
constructor(private route: ActivatedRoute,
|
||||
private clientsService: ClientsService,
|
||||
private _sanitizer: DomSanitizer) {
|
||||
this.route.data.subscribe((data: { clientViewData: any }) => {
|
||||
this.route.data.subscribe((data: {
|
||||
clientViewData: any,
|
||||
clientDatatables: any
|
||||
}) => {
|
||||
this.clientViewData = data.clientViewData;
|
||||
this.clientDatatables = data.clientDatatables;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user