fix(Community Permissions): handling collectible icons fixed
Closes: #11297
This commit is contained in:
parent
6ec40eb3cc
commit
b5d3a0cff9
|
@ -48,11 +48,11 @@ QtObject {
|
|||
sourceModel: communitiesModuleInst.collectiblesModel
|
||||
|
||||
proxyRoles: ExpressionRole {
|
||||
function icon(icon) {
|
||||
function collectibleIcon(icon) {
|
||||
return !!icon ? icon : Style.png("tokens/DEFAULT-TOKEN")
|
||||
}
|
||||
name: "iconSource"
|
||||
expression: icon(model.icon)
|
||||
expression: collectibleIcon(model.icon)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue