Commit b2454a82 authored by Michal Čihař's avatar Michal Čihař

Fuzzy units should not have failing check

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent d1c7a800
......@@ -921,7 +921,7 @@ class Unit(models.Model):
'''
Updates flag counting failing checks.
'''
has_failing_check = not self.fuzzy and self.active_checks().exists()
has_failing_check = self.translated and self.active_checks().exists()
# Change attribute if it has changed
if has_failing_check != self.has_failing_check:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment