We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d482d86 commit 1898482Copy full SHA for 1898482
static/js/src/app/campaign_results.js
@@ -856,11 +856,7 @@ function load() {
856
{
857
orderable: false,
858
"render": function(data, type, row) {
859
- // row[6] is Status, row[0] is RId, row[4] is email
860
- if (row[6] === "Email Sent") {
861
- return '<button class="btn btn-primary btn-xs" onclick="resendResult(\'' + row[0] + '\', \'' + row[4] + '\')">Resend</button>';
862
- }
863
- return '';
+ return '<button class="btn btn-primary btn-xs" onclick="resendResult(\'' + row[0] + '\', \'' + row[4] + '\')"><i class="fa fa-paper-plane"></i> Resend</button>';
864
},
865
"targets": [9] // This targets our new, empty column
866
}
0 commit comments