| @@ -41,7 +41,7 @@ export class PagingComponent implements OnInit { | |||||
| ngAfterViewInit() { | ngAfterViewInit() { | ||||
| this.dataSource = this.paginator; | |||||
| //this.dataSource = this.paginator; | |||||
| console.log('paging after init'); | console.log('paging after init'); | ||||
| //this.getDataFunction(); | //this.getDataFunction(); | ||||
| } | } | ||||
| @@ -17,8 +17,6 @@ import {AppHelperService} from "@app/_helpers/app-helper.service"; | |||||
| selector: 'app-documents', | selector: 'app-documents', | ||||
| templateUrl: './documents.component.html', | templateUrl: './documents.component.html', | ||||
| styleUrl: './documents.component.scss', | styleUrl: './documents.component.scss', | ||||
| standalone: true, | |||||
| imports: [MatTableModule, MatSortModule, MatPaginatorModule, RouterLink, RouterLinkActive, NgIf, TranslateModule, DatePipe], | |||||
| }) | }) | ||||
| export class DocumentsComponent { | export class DocumentsComponent { | ||||
| @ViewChild(MatSort) sort; | @ViewChild(MatSort) sort; | ||||
| @@ -42,9 +42,6 @@ export class PartnersDetailComponent implements OnInit, AfterViewInit { | |||||
| protected partnerProducts: Array<PartnerProductJsonld>; | protected partnerProducts: Array<PartnerProductJsonld>; | ||||
| protected partnerFollowSub: Subscription; | protected partnerFollowSub: Subscription; | ||||
| protected partnerFollow: PartnerFollowJsonld | null; | protected partnerFollow: PartnerFollowJsonld | null; | ||||
| protected modalOptions: NgbModalOptions = { | |||||
| centered: true | |||||
| }; | |||||
| constructor( | constructor( | ||||
| private router: Router, | private router: Router, | ||||
| @@ -18,8 +18,6 @@ import TypeEnum = PartnerJsonld.PartnerTypeEnum; | |||||
| selector: 'app-partners', | selector: 'app-partners', | ||||
| templateUrl: './partners.component.html', | templateUrl: './partners.component.html', | ||||
| styleUrl: './partners.component.scss', | styleUrl: './partners.component.scss', | ||||
| standalone: true, | |||||
| imports: [MatTableModule, MatSortModule, MatPaginatorModule, RouterLink, RouterLinkActive, NgIf, TranslateModule], | |||||
| }) | }) | ||||
| export class PartnersComponent implements OnInit, AfterViewInit { | export class PartnersComponent implements OnInit, AfterViewInit { | ||||
| @ViewChild(MatSort) partnersSort; | @ViewChild(MatSort) partnersSort; | ||||
| @@ -17,8 +17,6 @@ import {TranslateModule} from "@ngx-translate/core"; | |||||
| selector: 'app-products', | selector: 'app-products', | ||||
| templateUrl: './products.component.html', | templateUrl: './products.component.html', | ||||
| styleUrl: './products.component.scss', | styleUrl: './products.component.scss', | ||||
| standalone: true, | |||||
| imports: [MatTableModule, MatSortModule, MatPaginatorModule, RouterLink, RouterLinkActive, NgIf, TranslateModule], | |||||
| }) | }) | ||||
| export class ProductsComponent implements OnInit, AfterViewInit { | export class ProductsComponent implements OnInit, AfterViewInit { | ||||
| @ViewChild(MatSort) sort; | @ViewChild(MatSort) sort; | ||||
| @@ -88,9 +88,6 @@ export function HttpLoaderFactory(http: HttpClient) { | |||||
| AppRoutingModule, | AppRoutingModule, | ||||
| MatCardModule, | MatCardModule, | ||||
| NgOptimizedImage, | NgOptimizedImage, | ||||
| PartnersComponent, | |||||
| ProductsComponent, | |||||
| DocumentsComponent, | |||||
| MatPaginatorModule, | MatPaginatorModule, | ||||
| MatSortModule, | MatSortModule, | ||||
| MatTableModule, | MatTableModule, | ||||
| @@ -105,6 +102,9 @@ export function HttpLoaderFactory(http: HttpClient) { | |||||
| HomeComponent, | HomeComponent, | ||||
| TwoColumnComponent, | TwoColumnComponent, | ||||
| ProductsDetailComponent, | ProductsDetailComponent, | ||||
| PartnersComponent, | |||||
| ProductsComponent, | |||||
| DocumentsComponent, | |||||
| PartnersDetailComponent, | PartnersDetailComponent, | ||||
| NewContactComponent, | NewContactComponent, | ||||
| ContactListComponent, | ContactListComponent, | ||||