Skip to content

Commit f05627d

Browse files
committed
Fix empty table render
1 parent 6a71428 commit f05627d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/blocks/table-row.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ export default {
3838
},
3939
methods: {
4040
cell(columnId) {
41-
return this.properties[columnId];
41+
// return empty notion decorated text if row is empty
42+
return this?.properties?.[columnId] ?? [[" ", false]];
4243
},
4344
isHeader(columnIndex) {
4445
return (

0 commit comments

Comments
 (0)