summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src
diff options
context:
space:
mode:
authorIndrijeet kumar <indriku1@in.ibm.com>2020-03-20 16:19:32 +0530
committerIndrijeet kumar <indriku1@in.ibm.com>2020-03-20 16:19:41 +0530
commit381eba6f549696ccc32e43682884637ee54f5a60 (patch)
treee7522a3f8363add00975de1ff3805150107aa013 /ecomp-sdk/epsdk-app-overlay/src
parent88267ff629c01ca1b5a0db60cef4f6448b5a2358 (diff)
changes in column-list compo & headertabs.service
changes in column-list component & headertabs.service Issue-ID: PORTAL-813 Change-Id: I59c344fe2884fe1682767a567995598299720eff Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/column-list/column-list.component.html2
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/headertabs.service.spec.ts12
2 files changed, 8 insertions, 6 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/column-list/column-list.component.html b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/column-list/column-list.component.html
index deffdffb..4d27b529 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/column-list/column-list.component.html
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/column-list/column-list.component.html
@@ -230,7 +230,7 @@
</table>
<mat-paginator #paginator
- [length]="dataSource?.data.length"
+ [length]="dataSource?.data?.length"
[pageIndex]="0"
[pageSize]="25"
[pageSizeOptions]="[25, 50, 100, 250]">
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/headertabs.service.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/headertabs.service.spec.ts
index f9f63945..de1bffd9 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/headertabs.service.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/headertabs.service.spec.ts
@@ -1,12 +1,14 @@
import { TestBed } from '@angular/core/testing';
-
import { HeadertabsService } from './headertabs.service';
-
+import { HttpClientTestingModule } from '@angular/common/http/testing';
describe('HeadertabsService', () => {
- beforeEach(() => TestBed.configureTestingModule({}));
-
+ beforeEach(() => TestBed.configureTestingModule({
+
+ imports: [HttpClientTestingModule]
+ }));
+
it('should be created', () => {
const service: HeadertabsService = TestBed.get(HeadertabsService);
expect(service).toBeTruthy();
});
-});
+}); \ No newline at end of file