From afcaf6a4aa837dbb4e6318b3dc1a157586b51444 Mon Sep 17 00:00:00 2001 From: TonyFord <tonyford@strategy-investor.de> Date: Sat, 8 Jan 2022 11:01:47 +0100 Subject: [PATCH] skip Dummy von ewige Tabelle --- html/assets/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/assets/js/script.js b/html/assets/js/script.js index b5a4efa..78c349e 100644 --- a/html/assets/js/script.js +++ b/html/assets/js/script.js @@ -290,7 +290,7 @@ function calculateTabelle(saison,runde,show=true){ var startliste=STARTLISTE.reduce((a,b)=>(a)); - var Tabelle=Object.values(TEAMS).filter( (a) => ( ( a.start <= saison || saison == 0 ) && ( startliste.indexOf( a.nt ) > -1 || saison == 0 ) ) ) + var Tabelle=Object.values(TEAMS).filter( (a) => ( ( a.start <= saison || saison == 0 ) && ( startliste.indexOf( a.nt ) > -1 || ( saison == 0 && a.nt != 'xx' ) ) ) ) .sort( function(a,b){ return a[saison].P < b[saison].P || -- GitLab