change name
This commit is contained in:
parent
fcea1193b9
commit
7fb462d2db
|
@ -39,7 +39,7 @@ class IssuePriority < ApplicationRecord
|
|||
end
|
||||
end
|
||||
|
||||
def mp_color
|
||||
def pm_color
|
||||
case name
|
||||
when '低'
|
||||
'#13b33e'
|
||||
|
|
|
@ -51,7 +51,7 @@ class IssueStatus < ApplicationRecord
|
|||
end
|
||||
end
|
||||
|
||||
def mp_color
|
||||
def pm_color
|
||||
case name
|
||||
when '新增'
|
||||
'#ff6f00'
|
||||
|
|
|
@ -1 +1 @@
|
|||
json.(priority, :id, :name,:mp_color)
|
||||
json.(priority, :id, :name,:pm_color)
|
||||
|
|
|
@ -1 +1 @@
|
|||
json.(status, :id, :name, :mp_color)
|
||||
json.(status, :id, :name, :pm_color)
|
||||
|
|
Loading…
Reference in New Issue