Update week.jsx

environments/production/deployments/18
Theenoro 2020-06-03 00:49:08 +02:00
parent 41a8287d8f
commit 4b1d1de969
1 changed files with 6 additions and 1 deletions

View File

@ -105,10 +105,15 @@ export class Modi_Week{
for(d in weeks[w].data){
for(t in weeks[w].data[d][5]){
for(t in weeks[w].data[d][5])
{
if(typeof weeks[w].data[d][5][t] != "undefined")
{
if(weeks[w].data[d][5][t].trim()===""){
weeks[w].data[d][5].splice(t,1);
}
}
}
if(weeks[w].data[d][5].length <=0){
weeks[w].data.splice(d,1);