mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 09:13:58 +00:00
fix
This commit is contained in:
@@ -152,7 +152,11 @@ function CellFormattedValue({ value }) {
|
|||||||
if (dateTimeRegex.test(value)) return moment(value).format('YYYY-MM-DD HH:mm:ss');
|
if (dateTimeRegex.test(value)) return moment(value).format('YYYY-MM-DD HH:mm:ss');
|
||||||
return highlightSpecialCharacters(value);
|
return highlightSpecialCharacters(value);
|
||||||
}
|
}
|
||||||
return value;
|
if (_.isPlainObject(value)) {
|
||||||
|
if (_.isArray(value.data)) return <NullSpan>({value.data.length} bytes)</NullSpan>;
|
||||||
|
return <NullSpan>(RAW)</NullSpan>;
|
||||||
|
}
|
||||||
|
return value.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
function DataGridRow({
|
function DataGridRow({
|
||||||
|
|||||||
Reference in New Issue
Block a user