Skip to content

Commit

Permalink
Merge cebb2e3 into bcce5df
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosantangelo committed Nov 17, 2021
2 parents bcce5df + cebb2e3 commit c61893b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
} from 'decentraland-ui'
import { t, T } from 'decentraland-dapps/dist/modules/translation/utils'
import { locations } from 'routing/locations'
import { canSeeCollection } from 'modules/collection/utils'
import { getAvailableSlots, isUserManagerOfThirdParty } from 'modules/thirdParty/utils'
import { Item } from 'modules/item/types'
import LoggedInDetailPage from 'components/LoggedInDetailPage'
Expand Down Expand Up @@ -138,7 +137,7 @@ export default class ThirdPartyCollectionDetailPage extends React.PureComponent<
}

renderPage() {
const { wallet, thirdParty } = this.props
const { thirdParty } = this.props
const { page, searchText, itemSelectionState } = this.state
const collection = this.props.collection!
const slots = thirdParty ? getAvailableSlots(thirdParty) : new BN(0)
Expand Down Expand Up @@ -189,7 +188,7 @@ export default class ThirdPartyCollectionDetailPage extends React.PureComponent<
) : null}
</Button>
<CollectionPublishButton collection={collection} />
{canSeeCollection(collection, wallet.address) ? <CollectionContextMenu collection={collection} /> : null}
<CollectionContextMenu collection={collection} />
</Row>
</Column>
</Row>
Expand Down

0 comments on commit c61893b

Please sign in to comment.