From 9ce7e2a8fc66d7ee77b24e82277224479f1566bf Mon Sep 17 00:00:00 2001 From: Nick Breland Date: Mon, 15 Jan 2024 14:46:06 +0000 Subject: [PATCH] wip --- apps/habitbuilder/interface.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/habitbuilder/interface.html b/apps/habitbuilder/interface.html index a79dc8aec4..c42da129c3 100644 --- a/apps/habitbuilder/interface.html +++ b/apps/habitbuilder/interface.html @@ -27,7 +27,7 @@

Settings

// remove window Util.hideModal(); // If no data, report it and exit - if (data.length==0) { + if (csvData.length==0) { dataElement.innerHTML = "No data found"; return; } @@ -37,7 +37,7 @@

Settings

Question Date Answer - `+data.trim().split("\n").map(l=>{ + `+csvData.split("\n").map(l=>{ l = l.split(","); return ` ${l[0]}