|
|
|
@ -81,11 +81,11 @@ class Journal < ApplicationRecord
|
|
|
|
|
value = "清空了标签"
|
|
|
|
|
end
|
|
|
|
|
when "fixed_version_id"
|
|
|
|
|
t = Version.select(:id, :title)
|
|
|
|
|
old_value = t.find(de[2]).try(:title)
|
|
|
|
|
t = Version.select(:id, :name)
|
|
|
|
|
old_value = t.find(de[2]).try(:name)
|
|
|
|
|
type_name = de[3].present? ? t.find(de[3]) : ""
|
|
|
|
|
if type_name
|
|
|
|
|
value = t.find(de[3]).try(:title)
|
|
|
|
|
value = t.find(de[3]).try(:name)
|
|
|
|
|
else
|
|
|
|
|
value = "取消了版本库"
|
|
|
|
|
end
|
|
|
|
|