fix(core): deleted tags property cannot be added back (#8761)

fix AF-1661
This commit is contained in:
pengx17 2024-11-11 02:48:04 +00:00
parent 2aceed8824
commit e6ef1dea51
No known key found for this signature in database
GPG Key ID: 23F23D9E8B3971ED
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ export const CreatePropertyMenuItems = ({
name,
type: option.type,
index: propertyList.indexAt(at),
isDeleted: false,
});
onCreated?.(newProperty);
},

View File

@ -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({