mirror of https://github.com/gophish/gophish
Fixed ability to sort campaign results by reported status. Fixes #1157
parent
fa1d4d74b0
commit
de3c3a2e9c
File diff suppressed because one or more lines are too long
|
@ -774,11 +774,13 @@ function load() {
|
|||
{
|
||||
className: "text-center",
|
||||
"render": function (reported, type, row) {
|
||||
if (type == "display") {
|
||||
if (reported) {
|
||||
return "<i class='fa fa-check-circle text-center text-success'></i>"
|
||||
} else {
|
||||
}
|
||||
return "<i class='fa fa-times-circle text-center text-muted'></i>"
|
||||
}
|
||||
return reported
|
||||
},
|
||||
"targets": [7]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue