diff --git a/punch_list/eventManage.js b/punch_list/eventManage.js index 491d34d..7e0bcc6 100644 --- a/punch_list/eventManage.js +++ b/punch_list/eventManage.js @@ -65,6 +65,15 @@ function genList(punchList) { list += "
Status: " + punchList[i].progress + "
"; list += "
Priority: " + punchList[i].priority + "
"; list += "
Need By: " + punchList[i].nDate + "
"; + + if (punchList[i].tags != undefined) { + console.log(`Adding tags object to punchList[${item}]`); + list += "
Tags: "; + for (t = 0; t < punchList[i].tags.length; t++) { + list += punchList[i].tags[t] + ", "; + } + list += "
"; + } list += ""; list += "
"; list += ""; list += "
"; list += ""; list += "
"; list += "
diff --git a/punch_list/metadata.js b/punch_list/metadata.js index af6e224..24078bf 100644 --- a/punch_list/metadata.js +++ b/punch_list/metadata.js @@ -1,4 +1,4 @@ -var version = "0.2.017", +var version = "0.3.021", debug = false, jsonUrl = "https://api.myjson.com/bins/1dodsj", showDone = false,