From 18ec85dfeac832eab1388611f40948fdfd5dcda1 Mon Sep 17 00:00:00 2001 From: bohung Date: Thu, 15 Dec 2022 17:37:47 +0800 Subject: [PATCH] Fix indent. --- app/models/honor.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/honor.rb b/app/models/honor.rb index e2bc585..ba14fbc 100644 --- a/app/models/honor.rb +++ b/app/models/honor.rb @@ -67,8 +67,8 @@ class Honor fields_to_remove << t if (datas.where(t.to_sym.ne => nil).count == 0 rescue false) end pd_title << { - "plugin_data_title" => I18n.t("personal_honor.#{t}") - } if !fields_to_remove.include?(t) + "plugin_data_title" => I18n.t("personal_honor.#{t}") + } if !fields_to_remove.include?(t) end fields_to_show = fields_to_show - fields_to_remove