Commit 5c60794 1 parent acb90e0 commit 5c60794 Copy full SHA for 5c60794
File tree 1 file changed +10
-6
lines changed
src/components/CollectionsPage
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -306,12 +306,14 @@ export default function CollectionsPage(props: Props) {
306
306
< Tabs . Tab active = { currentTab === TABS . STANDARD_COLLECTIONS } onClick = { ( ) => handleTabChange ( TABS . STANDARD_COLLECTIONS ) } >
307
307
{ t ( 'collections_page.collections' ) }
308
308
</ Tabs . Tab >
309
- < Tabs . Tab
310
- active = { currentTab === TABS . THIRD_PARTY_COLLECTIONS }
311
- onClick = { ( ) => handleTabChange ( TABS . THIRD_PARTY_COLLECTIONS ) }
312
- >
313
- { t ( 'collections_page.third_party_collections' ) }
314
- </ Tabs . Tab >
309
+ { ( isThirdPartyManager || isLinkedWearablesPaymentsEnabled ) && (
310
+ < Tabs . Tab
311
+ active = { currentTab === TABS . THIRD_PARTY_COLLECTIONS }
312
+ onClick = { ( ) => handleTabChange ( TABS . THIRD_PARTY_COLLECTIONS ) }
313
+ >
314
+ { t ( 'collections_page.third_party_collections' ) }
315
+ </ Tabs . Tab >
316
+ ) }
315
317
{ hasUserOrphanItems && (
316
318
// TODO: Remove tabs when there are no users with orphan items
317
319
< Tabs . Tab active = { currentTab === TABS . ITEMS } onClick = { ( ) => handleTabChange ( TABS . ITEMS ) } >
@@ -376,6 +378,8 @@ export default function CollectionsPage(props: Props) {
376
378
isLoadingItems ,
377
379
isLoadingCollections ,
378
380
isLoadingOrphanItem ,
381
+ isLinkedWearablesPaymentsEnabled ,
382
+ isThirdPartyManager ,
379
383
handlePageChange ,
380
384
handleNewCollection ,
381
385
renderGrid ,
You can’t perform that action at this time.
0 commit comments