Compare commits

..

3 Commits

Author SHA1 Message Date
邱博亞 b64de1da98 Fix English title. 2024-08-22 22:43:26 +08:00
邱博亞 7efe6c88e7 Fix js not reload bug. 2024-08-22 22:43:26 +08:00
邱博亞 4d57cf1e67 Fix bug in backend setting. 2024-08-22 22:43:26 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ module Admin::Coloncancerpredict1sHelper
if arr.blank?
'[]'
elsif arr.class != String
'[' + arr.join(', ') + ']'
'[' + arr.map{|s| (s.is_a?(String) && !(s.is_i?) && s.include?(' ')) ? "\"#{s}\"" : s}.join(', ') + ']'
else
arr
end