Fix available services not correctly displayed
This commit is contained in:
parent
928080176a
commit
4ff5483025
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ module StatisticsHelper
|
|||
end
|
||||
|
||||
def service_status service, available_services
|
||||
if available_services.include? service
|
||||
if available_services.include? service.to_s
|
||||
I18n.t('statistics.enabled')
|
||||
else
|
||||
I18n.t('statistics.disabled')
|
||||
|
|
@ -20,7 +20,7 @@ module StatisticsHelper
|
|||
end
|
||||
|
||||
def service_class service, available_services
|
||||
if available_services.include? service
|
||||
if available_services.include? service.to_s
|
||||
"serv-enabled"
|
||||
else
|
||||
"serv-disabled"
|
||||
|
|
|
|||
Loading…
Reference in a new issue