From 99304649ea743ca180cb1963536bbf7e2c1f0ea3 Mon Sep 17 00:00:00 2001 From: HardiReady Date: Sun, 15 Jul 2018 13:03:32 +0200 Subject: [PATCH] Remove ngx-datatable dependency --- static/package-lock.json | 5 --- static/package.json | 1 - .../highscore/highscore.component.html | 37 ------------------- static/src/app/statistic/stats.module.ts | 5 +-- 4 files changed, 2 insertions(+), 46 deletions(-) diff --git a/static/package-lock.json b/static/package-lock.json index be6f92f..080b1cb 100644 --- a/static/package-lock.json +++ b/static/package-lock.json @@ -644,11 +644,6 @@ } } }, - "@swimlane/ngx-datatable": { - "version": "13.0.1", - "resolved": "https://registry.npmjs.org/@swimlane/ngx-datatable/-/ngx-datatable-13.0.1.tgz", - "integrity": "sha512-jjMEzQhXcdD+jfKNp+7U61lWx9ZzSGDn9QbpY6pJOJwz+E2CKeek6OouT5Qcc4MY4oFL9g/SZoPjLf90cbNIRw==" - }, "@types/jasmine": { "version": "2.5.38", "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-2.5.38.tgz", diff --git a/static/package.json b/static/package.json index 2b19f03..9eacace 100644 --- a/static/package.json +++ b/static/package.json @@ -29,7 +29,6 @@ "@angular/platform-browser-dynamic": "^6.0.7", "@angular/router": "^6.0.7", "@swimlane/ngx-charts": "^8.1.0", - "@swimlane/ngx-datatable": "^13.0.1", "bootstrap": "^3.3.7", "d3": "^4.11.0", "file-saver": "^1.3.8", diff --git a/static/src/app/statistic/campaign/highscore/highscore.component.html b/static/src/app/statistic/campaign/highscore/highscore.component.html index b02c5aa..5829dd6 100644 --- a/static/src/app/statistic/campaign/highscore/highscore.component.html +++ b/static/src/app/statistic/campaign/highscore/highscore.component.html @@ -49,42 +49,5 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/static/src/app/statistic/stats.module.ts b/static/src/app/statistic/stats.module.ts index cd69cec..f882acd 100644 --- a/static/src/app/statistic/stats.module.ts +++ b/static/src/app/statistic/stats.module.ts @@ -5,7 +5,6 @@ import {statsRouterModule, statsRoutingComponents} from './stats.routing'; import {WarService} from '../services/logs/war.service'; import {NgxChartsModule} from '@swimlane/ngx-charts'; import {CampaignService} from '../services/logs/campaign.service'; -import {NgxDatatableModule} from '@swimlane/ngx-datatable'; import {PlayerService} from '../services/logs/player.service'; import {LogsService} from '../services/logs/logs.service'; import {MatButtonModule, MatButtonToggleModule, MatExpansionModule, MatTableModule, MatSortModule} from '@angular/material'; @@ -13,8 +12,8 @@ import {MatButtonModule, MatButtonToggleModule, MatExpansionModule, MatTableModu @NgModule({ declarations: statsRoutingComponents, - imports: [CommonModule, SharedModule, statsRouterModule, NgxChartsModule, NgxDatatableModule, - MatButtonModule, MatExpansionModule, MatButtonToggleModule, MatTableModule, MatSortModule], + imports: [CommonModule, SharedModule, statsRouterModule, NgxChartsModule, MatButtonModule, MatExpansionModule, + MatButtonToggleModule, MatTableModule, MatSortModule], providers: [WarService, CampaignService, PlayerService, LogsService] }) export class StatsModule { -- 2.25.1