This commit is contained in:
2020-02-27 19:14:46 +00:00
parent f650d5a104
commit b76e709234
2 changed files with 5 additions and 8 deletions

View File

@@ -42,11 +42,7 @@ CURRENT ROADMAP
CURRENT TODOs
=-=-=-=-=-=-=
todo: tags in datatable display
- remove the array brackets and the quotation marks
- In wide format the column is really narrow for some reason which is increasing the row height quite a bit
- in wide format can the font be smaller if it's more than a certain number of items
- in narrow it actually looks pretty good
todo: custom fields that are not text in display
- currently custom 1 which is a datetime field is not localized

View File

@@ -528,10 +528,11 @@ function buildHeaders(columnData) {
//Called by getDataFromApi on retrieval of list with columnData
function buildRecords(listData, columndefinitions) {
//iterate data, build each object keyed with index name and display set to correct locale filter and then return
if (!listData) {
return;
}
var ret = [];
if (!listData) {
return ret;
}
//cache display format stuff
var timeZoneName = window.$gz.locale.getTimeZoneName();