Skip to content

Commit

Permalink
fix: display correctly boolean value in list (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
foyarash authored Oct 4, 2024
1 parent c25f61c commit 6077955
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/dull-cows-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@premieroctet/next-admin": patch
---

fix: default boolean display (#466)
2 changes: 1 addition & 1 deletion packages/next-admin/src/components/Cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default function Cell({ cell, formatter, copyable }: Props) {
"bg-nextadmin-background-subtle dark:bg-dark-nextadmin-background-subtle text-nextadmin-brand-subtle dark:text-dark-nextadmin-content-subtle"
)}
>
<p>{cellValue}</p>
<p>{cellValue?.toString()}</p>
</div>
);
}
Expand Down

0 comments on commit 6077955

Please sign in to comment.