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:
parent
5633efcdba
commit
6b42414155
|
@ -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: ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue