mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 12:41:41 +03:00
fix(core): deleted tags property cannot be added back (#8761)
fix AF-1661
This commit is contained in:
parent
2aceed8824
commit
e6ef1dea51
@ -46,6 +46,7 @@ export const CreatePropertyMenuItems = ({
|
||||
name,
|
||||
type: option.type,
|
||||
index: propertyList.indexAt(at),
|
||||
isDeleted: false,
|
||||
});
|
||||
onCreated?.(newProperty);
|
||||
},
|
||||
|
@ -47,6 +47,7 @@ export const DocPropertySidebar = () => {
|
||||
name,
|
||||
type: option.type,
|
||||
index: propertyList.indexAt('after'),
|
||||
isDeleted: false,
|
||||
});
|
||||
setNewPropertyId(newProperty.id);
|
||||
track.doc.sidepanel.property.addProperty({
|
||||
|
Loading…
Reference in New Issue
Block a user