diff --git a/html/assets/js/script.js b/html/assets/js/script.js index b5a4efa9145b1b20d7632994c0bb31f8e164e3ce..78c349e12104bf9cd64b45c3322b90bd1a4533f3 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 ||