feat(core): info modal should render backlinks with preview (#9387)

fix AF-2033
This commit is contained in:
pengx17
2024-12-27 13:47:06 +00:00
parent cff3a73db4
commit 70e4c8feab
6 changed files with 171 additions and 132 deletions
@@ -131,6 +131,7 @@ export const DocInfoSheet = ({
<LinksRow
className={styles.linksRow}
references={backlinks}
count={backlinks.length}
label={t['com.affine.page-properties.backlinks']()}
/>
<Divider size="thinner" />
@@ -141,6 +142,7 @@ export const DocInfoSheet = ({
<LinksRow
className={styles.linksRow}
references={links}
count={links.length}
label={t['com.affine.page-properties.outgoing-links']()}
/>
<Divider size="thinner" />