■ ■ ■ ■ ■ ■
static/js/src/app/campaign_results.js
| skipped 773 lines |
774 | 774 | | { |
775 | 775 | | className: "text-center", |
776 | 776 | | "render": function (reported, type, row) { |
777 | | - | if (reported) { |
778 | | - | return "<i class='fa fa-check-circle text-center text-success'></i>" |
779 | | - | } else { |
| 777 | + | if (type == "display") { |
| 778 | + | if (reported) { |
| 779 | + | return "<i class='fa fa-check-circle text-center text-success'></i>" |
| 780 | + | } |
780 | 781 | | return "<i class='fa fa-times-circle text-center text-muted'></i>" |
781 | 782 | | } |
| 783 | + | return reported |
782 | 784 | | }, |
783 | 785 | | "targets": [7] |
784 | 786 | | } |
| skipped 145 lines |