[Update] 授权列表下拉信息添加action字段 (#2618)

pull/2622/head
BaiJiangJie 2019-04-22 12:31:40 +08:00 committed by 老广
parent 33a00f043b
commit aabcf7f31c
1 changed files with 3 additions and 0 deletions

View File

@ -130,6 +130,9 @@ function format(d) {
if (d.system_users.length > 0) {
data += makeLabel(["{% trans 'System user' %}", d.system_users.join(", ")])
}
if (d.actions.length > 0) {
data += makeLabel(["{% trans 'Action' %}", d.actions.join(", ")])
}
return data
}