From c51ac3645b94b1fcaffa1e74ac354966e233b449 Mon Sep 17 00:00:00 2001 From: Kunwoo Park Date: Tue, 24 Sep 2024 11:21:34 -0700 Subject: [PATCH] Fix the issue displaying integer containing only 0 and 1 --- .../result-table-frame/result-table-frame.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/gui/src/app/workspace/component/result-panel/result-table-frame/result-table-frame.component.ts b/core/gui/src/app/workspace/component/result-panel/result-table-frame/result-table-frame.component.ts index dfad0234bba..fd58ba433eb 100644 --- a/core/gui/src/app/workspace/component/result-panel/result-table-frame/result-table-frame.component.ts +++ b/core/gui/src/app/workspace/component/result-panel/result-table-frame/result-table-frame.component.ts @@ -346,7 +346,7 @@ export class ResultTableFrameComponent implements OnInit, OnChanges { if (row[col.columnKey] === null) { return "NULL"; // Explicitly show NULL for null values } else if (row[col.columnKey] !== undefined) { - return this.trimTableCell(row[col.columnKey].toString()); + return this.trimTableCell(row[col.columnKey]); } else { return ""; // Keep empty string for undefined values }