Skip to content

Commit 8ddc3d7

Browse files
nikgrafCopilot
andauthored
Update packages/hypergraph/src/utils/convert-property-value.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d25d0f0 commit 8ddc3d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/hypergraph/src/utils/convert-property-value.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export const convertPropertyValue = (
1616
if (property.boolean != null) {
1717
return Boolean(property.boolean);
1818
}
19-
if ((property.string != null && property.string === '1') || property.string === '0') {
20-
return Boolean(property.string);
19+
if (property.string != null && (property.string === '1' || property.string === '0')) {
20+
return property.string === '1';
2121
}
2222
return undefined;
2323
}

0 commit comments

Comments
 (0)