From 2baf9758477b549d9eb5ea4dc4971f7eddae1eb7 Mon Sep 17 00:00:00 2001 From: Stela Augustinova Date: Fri, 5 Dec 2025 13:14:14 +0100 Subject: [PATCH] Added PostgreSQL decimal type in DataGridCell component --- packages/web/src/datagrid/DataGridCell.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/datagrid/DataGridCell.svelte b/packages/web/src/datagrid/DataGridCell.svelte index 585a4c081..02f7e08b2 100644 --- a/packages/web/src/datagrid/DataGridCell.svelte +++ b/packages/web/src/datagrid/DataGridCell.svelte @@ -57,7 +57,7 @@ $: style = computeStyle(maxWidth, col); $: isJson = - _.isPlainObject(value) && !(value?.type == 'Buffer' && _.isArray(value.data)) && !value.$oid && !value.$bigint; + _.isPlainObject(value) && !(value?.type == 'Buffer' && _.isArray(value.data)) && !value.$oid && !value.$bigint && !value.$decimal; // don't parse JSON for explicit data types $: jsonParsedValue = !editorTypes?.explicitDataType && isJsonLikeLongString(value) ? safeJsonParse(value) : null;