From ba5340d01391f5852fa4d7f4b7985d7a36dd2d24 Mon Sep 17 00:00:00 2001 From: Paul Traina <216482-pleasantone@users.noreply.gitlab.com> Date: Mon, 4 Jan 2021 12:56:46 -0800 Subject: [PATCH] Fix CQZ name in reports --- package.nw/lib/gt.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.nw/lib/gt.js b/package.nw/lib/gt.js index 7e8dc71..55580db 100644 --- a/package.nw/lib/gt.js +++ b/package.nw/lib/gt.js @@ -8669,6 +8669,7 @@ function displayItemList(table, color) .forEach(function (key, i) { var style; + var name = typeof table[key].name !== 'undefined' ? table[key].name : key; if (table[key].confirmed == true) { style = "color:" + color + ";" + confirmed; @@ -8683,7 +8684,7 @@ function displayItemList(table, color) style = "color:#000000;background-color:" + color + ";" + bold; } worker += - "" + key + ""; + "" + name + ""; }); worker += ""; return worker;