I am trying to create lightning component which should be specific to one custom object record only.
I added the component to Community Builder Custom object detail page. The problem I am facing is this component is coming up for all record detail pages like Account, Contact, Other Custom objects etc.
I tried using force:hasRecordId interface as well but it just for passing the record id. How can I restrict the Lightning component for specific Custom Object detail page only?