fix: ensure view-and-post permissions are hidden when satisfied
This has slipped through during rebase. We don't want to show the list of permissions to be fullfilled if they are already satisfied
This commit is contained in:
parent
1d086a9a65
commit
bea4c8c2ad
|
@ -358,7 +358,7 @@ Item {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: (2*Style.current.bigPadding)
|
anchors.leftMargin: (2*Style.current.bigPadding)
|
||||||
visible: (!!root.viewAndPostHoldingsModel && (root.viewAndPostHoldingsModel.count > 0)
|
visible: (!!root.viewAndPostHoldingsModel && (root.viewAndPostHoldingsModel.count > 0)
|
||||||
&& !root.amISectionAdmin)
|
&& !root.amISectionAdmin && !root.viewAndPostPermissionsSatisfied)
|
||||||
assetsModel: root.rootStore.assetsModel
|
assetsModel: root.rootStore.assetsModel
|
||||||
collectiblesModel: root.rootStore.collectiblesModel
|
collectiblesModel: root.rootStore.collectiblesModel
|
||||||
holdingsModel: root.viewAndPostHoldingsModel
|
holdingsModel: root.viewAndPostHoldingsModel
|
||||||
|
|
Loading…
Reference in New Issue