fix(grid): display JSONB values as JSON string instead of [object Object]

Closes #100
This commit is contained in:
t8y2
2026-05-06 12:10:33 +08:00
parent 2aaf05bc5a
commit 746a4c491a
+1
View File
@@ -608,6 +608,7 @@ async function applyWhereSearch() {
function formatCell(value: CellValue): string {
if (value === null) return "NULL";
if (typeof value === "boolean") return value ? "true" : "false";
if (typeof value === "object") return JSON.stringify(value);
return String(value);
}