dynamtic sorting revert updates
This commit is contained in:
parent
0ff9232f3b
commit
c10991a468
@ -38,10 +38,7 @@ export class ContactsComponent {
|
||||
this.dataSource.paginator = value;
|
||||
}
|
||||
|
||||
@ViewChild(MatSort, { static: false })
|
||||
set sort(value: MatSort) {
|
||||
this.dataSource.sort = value;
|
||||
}
|
||||
@ViewChild(MatSort) sort!: MatSort;
|
||||
|
||||
displayedColumns: string[] = ['firstName', 'lastName', 'title', 'phone', 'mobile', 'email', 'actions'];
|
||||
dataSource = new MatTableDataSource<any>();
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
export const environment = {
|
||||
production: false,
|
||||
apiUrl: 'https://dev.alphaomegainfosys.com/test-api',
|
||||
apiDb: '1',
|
||||
apiUrl: 'https://dev.alphaomegainfosys.com/test-api-2',
|
||||
apiDb: '2',
|
||||
appType: 'client',
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user