mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 09:36:17 +08:00
fix(core): peek db row should always show the related db row property (#8942)
fix BS-1963 depends on https://github.com/toeverything/blocksuite/pull/8818
This commit is contained in:
@@ -44,6 +44,7 @@ export type DefaultOpenProperty =
|
||||
}
|
||||
| {
|
||||
type: 'database';
|
||||
docId: string;
|
||||
databaseId: string;
|
||||
databaseRowId: string;
|
||||
};
|
||||
@@ -385,8 +386,9 @@ const DocPropertiesTableInner = ({
|
||||
defaultOpenProperty?.type === 'database'
|
||||
? [
|
||||
{
|
||||
databaseId: defaultOpenProperty.databaseId,
|
||||
databaseBlockId: defaultOpenProperty.databaseId,
|
||||
rowId: defaultOpenProperty.databaseRowId,
|
||||
docId: defaultOpenProperty.docId,
|
||||
},
|
||||
]
|
||||
: []
|
||||
|
||||
Reference in New Issue
Block a user