mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
af9828e721
commit
da8416ebbe
2 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ interface IProps {
|
|||
}
|
||||
|
||||
export const Tags = (props: IProps) => {
|
||||
return props.tags.length > 0
|
||||
return props.tags && props.tags.length > 0
|
||||
? <div className="d-md-none">
|
||||
{props.tags.map((t: IListTagDto, i: number) => <Tag {...t} key={i}/>)}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ interface IProps {
|
|||
}
|
||||
|
||||
export const MaintainersInfoCard = (props: IProps) => {
|
||||
return props.maintainers.length > 0
|
||||
return props.maintainers && props.maintainers.length > 0
|
||||
? <div className="w-100">
|
||||
{props.maintainers.map(
|
||||
(m: IListMaintainerDto, i: number) => <MaintainerInfoCard {...m} key={i}/>)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue