diff --git a/static/src/app/statistic/highscore/highscore.component.html b/static/src/app/statistic/highscore/highscore.component.html index 040e549..1e4297d 100644 --- a/static/src/app/statistic/highscore/highscore.component.html +++ b/static/src/app/statistic/highscore/highscore.component.html @@ -17,7 +17,6 @@ { for (let i = 0; i < query.length; i++) { - if (player.name.toLowerCase().includes(query[i].trim())) { + if (query[i].trim() != '' && player.name.toLowerCase().includes(query[i].trim())) { return true; } } diff --git a/static/src/app/statistic/war-list/war-list.component.html b/static/src/app/statistic/war-list/war-list.component.html index c37affa..721ef16 100644 --- a/static/src/app/statistic/war-list/war-list.component.html +++ b/static/src/app/statistic/war-list/war-list.component.html @@ -23,22 +23,18 @@
-
-