We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bc28d7 commit ae3f48dCopy full SHA for ae3f48d
packages/frontend/core/src/components/affine/page-properties/table.tsx
@@ -759,6 +759,11 @@ export const PagePropertyRow = ({
759
setEditingMeta(false);
760
setEditingItem(null);
761
}, [setEditingItem]);
762
+
763
+ // NOTE: if we define a new property type, the value render may not exists in old client
764
+ // skip rendering if value render is not define yet
765
+ if (!ValueRenderer || typeof ValueRenderer !== 'function') return null;
766
767
return (
768
<SortablePropertyRow property={property} data-testid="page-property-row">
769
{({ attributes, listeners }) => (
0 commit comments