mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-03-13 17:38:03 +08:00
TableContainer no longer displays 'null'
This commit is contained in:
parent
be0375c385
commit
0108050bb8
@ -95,7 +95,7 @@ public class TableContainer {
|
||||
Serializable value = row[i];
|
||||
Formatter formatter = formatters[i];
|
||||
body.append("<td").append(formatter != null ? " data-order=\"" + value + "\">" : ">");
|
||||
body.append(formatter != null ? formatter.apply(value) : value);
|
||||
body.append(formatter != null ? formatter.apply(value) : (value != null ? value : '-'));
|
||||
}
|
||||
body.append("</td>");
|
||||
} catch (ClassCastException | ArrayIndexOutOfBoundsException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user