From 4dc543eda050bdc69f40048e99c928ab1106d097 Mon Sep 17 00:00:00 2001 From: Giuseppe Digilio Date: Mon, 22 May 2017 10:38:34 +0200 Subject: [PATCH] Fix for ng2-pagination --- src/app/shared/pagination/pagination.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/shared/pagination/pagination.component.ts b/src/app/shared/pagination/pagination.component.ts index 7705ff75df..6a5f96bbc7 100644 --- a/src/app/shared/pagination/pagination.component.ts +++ b/src/app/shared/pagination/pagination.component.ts @@ -13,6 +13,8 @@ import { isNumeric } from "rxjs/util/isNumeric"; import 'rxjs/add/operator/switchMap'; import { Store } from "@ngrx/store"; import { Observable } from "rxjs"; +// It is necessary to use ng2-pagination +import { DEFAULT_TEMPLATE, DEFAULT_STYLES } from 'ng2-pagination/dist/template'; import { HostWindowState } from "../host-window.reducer"; import { PaginationOptions } from '../../core/cache/models/pagination-options.model';