Skip to content

Commit 2c40fdc

Browse files
committed
Fix TeamDashboardWidget & update tests
1 parent ef30eaa commit 2c40fdc

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

src/Apps/StatCan.OrchardCore.Candev/Views/Widget-TeamDashboardWidget.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<v-flex class="pt-2"><span class="subtitle-2">{{ challengeSelected.ContentItem.Content.Challenge.Statement.Text | shortcode }}</span></v-flex>
6060
<h3>{{ "Potential Datasets" | t }}</h3>
6161
<v-flex class="pt-2"><span class="subtitle-2">{{ challengeSelected.ContentItem.Content.Challenge.Datasets.Text | shortcode }}</span></v-flex>
62-
{% if !Site.Properties.HackathonCustomSettings.TeamCustomSettings.PartialChallenge.Value %}
62+
{% if Site.Properties.HackathonCustomSettings.TeamCustomSettings.PartialChallenge.Value == false %}
6363
<h3>{{ "Background Information" | t }}</h3>
6464
<v-flex class="pt-2"><span class="subtitle-2">{{ challengeSelected.ContentItem.Content.Challenge.BackgroundInformation.Text | shortcode }}</span></v-flex>
6565
{% endif %}

test/cypress/fixtures/recipes/candev-content.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@
175175
},
176176
"TeamEditable": {
177177
"Value": true
178+
},
179+
"PartialChallenge": {
180+
"Value": true
178181
}
179182
},
180183
"JudgingCustomSettings": {

test/cypress/fixtures/recipes/team-management.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@
129129
},
130130
"TeamEditable": {
131131
"Value": true
132+
},
133+
"PartialChallenge": {
134+
"Value": true
132135
}
133136
},
134137
"JudgingCustomSettings": {

0 commit comments

Comments
 (0)