fix
This commit is contained in:
parent
854df00ffb
commit
a8b0435c94
|
@ -83,6 +83,7 @@ class Journal < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def pm_operate_category
|
def pm_operate_category
|
||||||
|
detail = self.journal_details.take
|
||||||
if (detail.property == "requirement" || detail.property == "task" || detail.property == "bug") && detail.prop_key.to_s == "1"
|
if (detail.property == "requirement" || detail.property == "task" || detail.property == "bug") && detail.prop_key.to_s == "1"
|
||||||
return "issue"
|
return "issue"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue