Skip to content
This repository was archived by the owner on Oct 21, 2020. It is now read-only.

Commit c7a177e

Browse files
author
Núria Aloy
authored
Merge pull request #1 from Werkspot/fix_template_error
Fix check active sprint title
2 parents d2c0b94 + 2012790 commit c7a177e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/AchievedSprintsWidget/achieved-sprints-widget.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div style="color: red">{{ message }}</div>
1717
{% endfor %}
1818

19-
{% if activeSprint.title is not null %}
19+
{% if activeSprint and activeSprint.title is not null %}
2020
<h3>Set result of Active Sprint</h3>
2121
<div>
2222
<h4>{{ activeSprint.title }}</h4>

0 commit comments

Comments
 (0)