Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: 0 digit appears in properties ui if no notebooks

thecodrrf5c32556f786
diff --git a/apps/web/src/components/properties/index.js b/apps/web/src/components/properties/index.js
index c902ee771..c2365a2cc 100644
--- a/apps/web/src/components/properties/index.js
+++ b/apps/web/src/components/properties/index.js
@@ -159,7 +159,7 @@ function Properties({ noteId }) {
))}
</Flex>
</Card>
- {notebooks?.length && (
+ {!!notebooks?.length && (
<Card title="Referenced In">
{notebooks.map((ref) => {
const notebook = db.notebooks.notebook(ref.id);