Missing stuff for new fields
Some checks failed
/ Run tests (push) Failing after 16s
/ Run system tests (push) Failing after 16s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-10-26 00:14:26 +02:00
parent 5079eaf864
commit d94906059d
4 changed files with 11 additions and 5 deletions

View file

@ -97,6 +97,6 @@ class Check < ApplicationRecord
end
def display_applicabilities
%i[applicable_to_app applicable_to_web].select { |a| send(:"#{a}?") }.map { |a| I18n.t("applicability.#{a}") }.join(", ")
%i[applicable_to_analogue applicable_to_app applicable_to_document applicable_to_non_web applicable_to_web].select { |a| send(:"#{a}?") }.map { |a| I18n.t("applicability.#{a}") }.join(", ")
end
end