Skip to content

Commit

Permalink
Fix no property shown
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Oct 15, 2021
1 parent cf76e1f commit e4dfadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data-browser/src/components/forms/InputResource.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function InputResource({
const [subject, setSubject] = useString(resource, property.subject, {
handleValidationError: setError,
});
if (typeof subject !== 'string') {
if (typeof subject !== 'string' || subject == undefined) {
return (
<ErrorLook>
Sorry, there is no support for editing nested resources yet
Expand Down

0 comments on commit e4dfadb

Please sign in to comment.