From 81f1ebacb7efa90249927760f9a9b8c4493c2b26 Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Thu, 12 Apr 2018 22:25:07 -0500 Subject: [PATCH] web-ui: Add ngx-pagination dependency --- web-ui/package-lock.json | 5 +++++ web-ui/package.json | 1 + web-ui/src/app/app.module.ts | 4 +++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/web-ui/package-lock.json b/web-ui/package-lock.json index 55cb118..9e2471f 100644 --- a/web-ui/package-lock.json +++ b/web-ui/package-lock.json @@ -5611,6 +5611,11 @@ "resolved": "https://registry.npmjs.org/ngx-bootstrap/-/ngx-bootstrap-2.0.2.tgz", "integrity": "sha512-4ZTltcStUED2JzI9Hd1+FDaMQmukzbeBSS02hdTvuUJ+9hNtGLMSPGdPNRIniIyItzv3v3emJrAAtKkvOMxyCA==" }, + "ngx-pagination": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/ngx-pagination/-/ngx-pagination-3.1.0.tgz", + "integrity": "sha512-D/8Is3z0nipHCCQN0XZyh5/nhSrON/ybft3Wk8dfPHMGtjqzoOSorNaanypO35JD/jECcam/cS/evjlaqDAgQg==" + }, "ngx-toastr": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/ngx-toastr/-/ngx-toastr-8.3.0.tgz", diff --git a/web-ui/package.json b/web-ui/package.json index 9526962..2109ffb 100644 --- a/web-ui/package.json +++ b/web-ui/package.json @@ -26,6 +26,7 @@ "core-js": "^2.4.1", "ng-http-loader": "^0.6.0", "ngx-bootstrap": "^2.0.0-beta.8", + "ngx-pagination": "^3.1.0", "ngx-toastr": "^8.0.0", "rxjs": "^5.5.2", "zone.js": "^0.8.14" diff --git a/web-ui/src/app/app.module.ts b/web-ui/src/app/app.module.ts index 5ee9e7b..d72499a 100644 --- a/web-ui/src/app/app.module.ts +++ b/web-ui/src/app/app.module.ts @@ -10,7 +10,8 @@ import { AlertModule, BsDropdownModule, CollapseModule, TooltipModule, ModalModu import { TranslateModule } from '@ngx-translate/core'; import { ToastrModule } from 'ngx-toastr'; -import { NgHttpLoaderModule } from 'ng-http-loader/ng-http-loader.module' +import { NgHttpLoaderModule } from 'ng-http-loader/ng-http-loader.module'; +import { NgxPaginationModule } from 'ngx-pagination'; import { AddressesService } from './services/addresses.service'; import { BalancesService } from './services/balances.service'; @@ -64,6 +65,7 @@ import { RichestAddressesComponent } from './components/richest-addresses/riches HttpClientModule, NgHttpLoaderModule, TranslateModule.forRoot(), + NgxPaginationModule ], providers: [ AddressesService,