chore: update memo property checks

pull/3811/head
Steven 7 months ago
parent 506d2ed8ca
commit aae3e8ae64

@ -11,7 +11,7 @@ interface Props {
const MemoDetailSidebar = ({ memo, className }: Props) => {
const t = useTranslate();
const property = memo.property as MemoProperty;
const property = MemoProperty.fromPartial(memo.property || {});
const hasSpecialProperty = property.hasLink || property.hasTaskList || property.hasCode || property.hasIncompleteTasks;
return (

Loading…
Cancel
Save