fix: bug with version diff screen when arrays have no labels

This commit is contained in:
James
2022-07-16 18:08:37 -07:00
parent eac982398e
commit 6060e4cb27

View File

@@ -91,7 +91,7 @@ const Iterable: React.FC<Props & { field: ArrayField | BlockField }> = ({
<div className={`${baseClass}__no-rows`}>
No
{' '}
{field.labels.plural}
{field.labels?.plural ?? 'rows'}
{' '}
found
</div>