File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export const List: FunctionComponent<Props> = ({ {{{name}}} }) => (
2020 </ tr >
2121 </ thead >
2222 < tbody >
23- { { { { name} } } && { { { name} } } . length && { { { name} } } . map ( { { { lc} } } => (
23+ { { { { name} } } && ( { { { name} } } . length !== 0 ) && { { { name} } } . map ( { { { lc} } } => (
2424 < ListItem key = { { { { lc} } } [ '@id' ] } { { { lc} } } = { { { { lc} } } } / >
2525 ) ) }
2626 </tbody >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ interface Props {
99}
1010
1111const Page : NextComponentType < NextPageContext , Props , Props > = ( { collection} ) => (
12- < List { { { name} } } = { collection[ '{{{hydraPrefix}}}member' ] || [ ] } />
12+ < List { { { name} } } = { collection[ '{{{hydraPrefix}}}member' ] } />
1313) ;
1414
1515Page . getInitialProps = async ( ) => {
You can’t perform that action at this time.
0 commit comments