bodhiproject / bodhi-ui

ReactJS frontend that interacts with the Bodhi backend services
GNU Lesser General Public License v3.0
18 stars 5 forks source link

Ans #1551

Closed BernardHan closed 5 years ago

BernardHan commented 5 years ago

Pull Request Template

Checklist

Notes

dwalintukan commented 5 years ago

suggest to create a reusable component to handle this if it has a name or not.

<Address address={address} name={name} />

and in Address:
if name is not undef/null/empty, show name, otherwise show address.