Browse Source

web-ui: Add ngx-pagination dependency

scalafmt-draft
Alexis Hernandez 7 years ago
parent
commit
81f1ebacb7
  1. 5
      web-ui/package-lock.json
  2. 1
      web-ui/package.json
  3. 4
      web-ui/src/app/app.module.ts

5
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",

1
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"

4
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,

Loading…
Cancel
Save