* fixes bug where quality checker for compensations would not check properly for state surface sums
This commit is contained in:
2023-02-23 12:02:50 +01:00
parent d600ab1d59
commit fb2900aa74
2 changed files with 3 additions and 4 deletions

View File

@@ -74,7 +74,8 @@ class CheckModalForm(BaseModalForm):
"checked_comps",
f"{comp.identifier}: {msg}"
)
comps_valid = checker.valid
if comps_valid and not checker.valid:
comps_valid = checker.valid
deductions_valid = self._are_deductions_valid()
return deductions_valid and comps_valid