Update week.jsx

environments/production/deployments/17
Theenoro 2020-06-03 00:26:23 +02:00
parent 72a9f6c0eb
commit 41a8287d8f
1 changed files with 139 additions and 135 deletions

View File

@ -34,8 +34,12 @@ export class Modi_Week{
sql = `SELECT * FROM days_have_tasks WHERE day_id=`+md[0];
var ts = DB.cdb.exec(sql);
var tasks = []
if(typeof ts[0] != "undefined"){
for(var x in ts[0].values){
tasks.push(ts[0].values[x][1]);
}
}
for(var t in tasks){
sql = 'SELECT * FROM tasks WHERE id=:id';