feat: hide Matchability tab on Inserate detail drawer
PropertyDetailView gets hideTabs prop — MyListings passes ['Matchability'] since the Suchabo chip already covers the match/contact use case inline. Tab content now keys by name not index, so removal doesn't shift panels. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -423,7 +423,7 @@ export default function MyListings() {
|
||||
slotProps={{ paper: { sx: { width: { xs: '100%', sm: 560 } } } }}
|
||||
>
|
||||
{detailId && (
|
||||
<PropertyDetailView propertyId={detailId} onClose={() => setDetailId(null)} />
|
||||
<PropertyDetailView propertyId={detailId} onClose={() => setDetailId(null)} hideTabs={['Matchability']} />
|
||||
)}
|
||||
</Drawer>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user