fix(OwnerToken): TOwner item footer button must be visible only for TOwner owner

Fixes #12911
This commit is contained in:
Noelia 2024-01-15 12:31:07 +01:00 committed by Noelia
parent 42a80c2c10
commit b515f536d1
1 changed files with 2 additions and 2 deletions

View File

@ -729,7 +729,7 @@ StackView {
communityName: root.communityName
visible: {
if(tokenViewPage.isTMasterTokenItem)
if(tokenViewPage.isOwnerTokenItem || tokenViewPage.isTMasterTokenItem)
// Only footer if owner profile
return root.isOwner
// Always present
@ -746,7 +746,7 @@ StackView {
burnEnabled: deployStateCompleted
sendOwnershipEnabled: deployStateCompleted
sendOwnershipVisible: tokenViewPage.isOwnerTokenItem
sendOwnershipVisible: root.isOwner && tokenViewPage.isOwnerTokenItem
airdropVisible: !tokenViewPage.isOwnerTokenItem
remotelyDestructVisible: !tokenViewPage.isOwnerTokenItem && token.remotelyDestruct
burnVisible: !tokenViewPage.isOwnerTokenItem && !token.infiniteSupply