summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src
diff options
context:
space:
mode:
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