Compare commits

..

3 Commits

Author SHA1 Message Date
邱博亞 2869971857 Fix title. 2024-08-22 22:26:47 +08:00
邱博亞 95f93ac378 Fix js not reload bug. 2024-08-22 22:26:47 +08:00
邱博亞 5fe13fe367 Fix bug in backend setting. 2024-08-22 22:14:57 +08:00
1 changed files with 1 additions and 1 deletions

View File

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