Skip to content

Commit

Permalink
🎨 #10547
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Mar 8, 2024
1 parent a08af3a commit f87ac01
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/src/protyle/render/av/blockAttr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,11 @@ export const genAVValueHTML = (value: IAVCellValue) => {
break;
case "relation":
value?.relation?.contents?.forEach((item) => {
const rollupText = genAVRollupHTML(item);
if (rollupText) {
html += rollupText + ", ";
if (item) {
const rollupText = genAVRollupHTML(item);
if (rollupText) {
html += rollupText + ", ";
}
}
});
if (html && html.endsWith(", ")) {
Expand Down

0 comments on commit f87ac01

Please sign in to comment.