fix(CommunitySettingsView): Add expected roles to assets/collectibles models

The same components are used to display data from rootStore.assetsModel,
rootStore.collectiblesModel (permissions) and
root.community.communityTokens (airdrops). The models have different
roles and need adjustments before passing to ui components.

Closes: #11309
This commit is contained in:
Michał Cieślak 2023-07-06 11:58:15 +02:00 committed by Michał
parent 5633efcdba
commit 6b42414155
1 changed files with 8 additions and 0 deletions

View File

@ -388,6 +388,10 @@ StatusSectionLayout {
ExpressionRole { ExpressionRole {
name: "key" name: "key"
expression: model.symbol expression: model.symbol
},
ExpressionRole {
name: "communityId"
expression: ""
} }
] ]
} }
@ -419,6 +423,10 @@ StatusSectionLayout {
ExpressionRole { ExpressionRole {
name: "key" name: "key"
expression: model.symbol expression: model.symbol
},
ExpressionRole {
name: "communityId"
expression: ""
} }
] ]
} }