diff --git a/app/models/project.rb b/app/models/project.rb index 37b760a..62e8b70 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -68,6 +68,7 @@ class Project else t = "period_start_date" if t == "period" fields_to_remove << t if (datas.where(t.to_sym.ne => nil).count == 0 rescue false) + t = "period" if t == "period_start_date" end pd_title << { "plugin_data_title" => I18n.t("personal_project.#{t}")