fix(core): improve doc title and icon display (#9755)
Closes: [AF-2132](https://linear.app/affine-design/issue/AF-2132/优化-emoji-title-和-icon-显示)
This commit is contained in:
@@ -66,10 +66,7 @@ export class DocsQuickSearchSession
|
||||
)
|
||||
.map(([doc, docRecord]) => {
|
||||
const { title, icon, updatedDate } =
|
||||
this.docDisplayMetaService.getDocDisplayMeta(
|
||||
docRecord,
|
||||
'title' in doc ? doc.title : undefined
|
||||
);
|
||||
this.docDisplayMetaService.getDocDisplayMeta(docRecord);
|
||||
return {
|
||||
id: 'doc:' + docRecord.id,
|
||||
source: 'docs',
|
||||
|
||||
Reference in New Issue
Block a user