Fix indent.

This commit is contained in:
BoHung Chiu 2022-12-15 17:37:47 +08:00
parent a5841b820f
commit 18ec85dfea
1 changed files with 2 additions and 2 deletions

View File

@ -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