Skip to content

Commit 1898482

Browse files
committed
blind coding new feature
1 parent d482d86 commit 1898482

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

static/js/src/app/campaign_results.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -856,11 +856,7 @@ function load() {
856856
{
857857
orderable: false,
858858
"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 '';
859+
return '<button class="btn btn-primary btn-xs" onclick="resendResult(\'' + row[0] + '\', \'' + row[4] + '\')"><i class="fa fa-paper-plane"></i> Resend</button>';
864860
},
865861
"targets": [9] // This targets our new, empty column
866862
}

0 commit comments

Comments
 (0)