Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
owocki authored and vlad2689 committed Sep 15, 2018
1 parent 7c79a96 commit 9ef25ae
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/assets/v2/js/pages/bounty_details.js
Original file line number Diff line number Diff line change
@@ -330,16 +330,14 @@ var callbacks = {
},
'started_owners_username': function(key, val, result) {
var started = [];

if (result.interested) {
var interested = result.interested;

interested.forEach(function(_interested, position) {
var name = (position == interested.length - 1) ?
_interested.profile.handle : _interested.profile.handle.concat(',');

if (!_interested.pending)
if(!_interested.pending){
started.push(profileHtml(_interested.profile.handle, name));
}
});
if (started.length == 0)
started.push('<i class="fas fa-minus"></i>');

0 comments on commit 9ef25ae

Please sign in to comment.