mirror of
https://github.com/apache/druid.git
synced 2025-02-09 03:24:55 +00:00
friendly printed arrays for json responses (#7805)
This commit is contained in:
parent
7abfbb066a
commit
94b3591171
@ -35,6 +35,8 @@ export class NullTableCell extends React.Component<NullTableCellProps, {}> {
|
|||||||
} else if (value !== '' && value != null) {
|
} else if (value !== '' && value != null) {
|
||||||
if (timestamp) {
|
if (timestamp) {
|
||||||
return <span className="null-table-cell timestamp" title={value}>{new Date(value).toISOString()}</span>;
|
return <span className="null-table-cell timestamp" title={value}>{new Date(value).toISOString()}</span>;
|
||||||
|
} else if (Array.isArray(value)) {
|
||||||
|
return `[${value.join(', ')}]`;
|
||||||
} else {
|
} else {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user