fix: Token Master permission missing token name (#14609)

This commit is contained in:
Godfrain Jacques 2024-05-07 06:58:15 -07:00 committed by GitHub
parent 3a57a63605
commit ceee230244
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 13 deletions

View File

@ -184,8 +184,20 @@ StackView {
viewWidth: root.viewWidth viewWidth: root.viewWidth
SortFilterProxyModel {
id: nonOwnerCollectibles
sourceModel: root.collectiblesModel
filters: [
ValueFilter {
roleName: "privilegesLevel"
value: Constants.TokenPrivilegesLevel.Owner
inverted: true
}
]
}
assetsModel: root.assetsModel assetsModel: root.assetsModel
collectiblesModel: root.collectiblesModel collectiblesModel: nonOwnerCollectibles
channelsModel: allChannelsTransformed channelsModel: allChannelsTransformed
communityDetails: root.communityDetails communityDetails: root.communityDetails
showChannelSelector: root.showChannelSelector showChannelSelector: root.showChannelSelector

View File

@ -304,18 +304,7 @@ StatusSectionLayout {
assetsModel: rootStore.assetsModel assetsModel: rootStore.assetsModel
SortFilterProxyModel { collectiblesModel: rootStore.collectiblesModel
id: nonOwnerCollectibles
sourceModel: rootStore.collectiblesModel
filters: [
ValueFilter {
roleName: "privilegesLevel"
value: Constants.TokenPrivilegesLevel.Owner
inverted: true
}
]
}
collectiblesModel: nonOwnerCollectibles
channelsModel: rootStore.chatCommunitySectionModule.model channelsModel: rootStore.chatCommunitySectionModule.model
communityDetails: d.communityDetails communityDetails: d.communityDetails