Skip to content

Commit 33b22c5

Browse files
committed
Differentiate between zero and null in result set (#408)
Signed-off-by: worksofliam <[email protected]>
1 parent 3c99562 commit 33b22c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/notebooks/Controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class IBMiController {
9898
table.forEach(row => {
9999
columnNames.forEach(key => {
100100
//@ts-ignore
101-
if (!row[key]) { row[key] = `-`; }
101+
if (row[key] === null) { row[key] = `-`; }
102102
});
103103
});
104104

0 commit comments

Comments
 (0)