Skip to content

Commit

Permalink
try to make tests work
Browse files Browse the repository at this point in the history
  • Loading branch information
jrainville committed May 1, 2024
1 parent 944cddd commit f2c9a5f
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions ui/app/AppLayouts/Communities/CommunitiesPortalLayout.qml
Original file line number Diff line number Diff line change
Expand Up @@ -137,20 +137,17 @@ StatusSectionLayout {
onClicked: Global.importCommunityPopupRequested()
}

Loader {
Layout.preferredHeight: active ? 38 : 0
active: communitiesStore.createCommunityEnabled || communitiesStore.testEnvironment
sourceComponent: StatusButton {
id: createBtn
objectName: "createCommunityButton"
height: parent.height
verticalPadding: 0
text: qsTr("Create community")
onClicked: {
Global.openPopup(chooseCommunityCreationTypePopupComponent)
}
StatusButton {
id: createBtn
visible: communitiesStore.createCommunityEnabled || communitiesStore.testEnvironment
objectName: "createCommunityButton"
Layout.preferredHeight: 38
verticalPadding: 0
text: qsTr("Create community")
onClicked: {
Global.openPopup(chooseCommunityCreationTypePopupComponent)
}
}
}
}

TagsRow {
Expand Down

0 comments on commit f2c9a5f

Please sign in to comment.