Skip to content

Commit

Permalink
Honoring HangarXPLOR._setting.NoPledgeID
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpv committed Jun 8, 2021
1 parent b7e445a commit a72cca8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/web_resources/HangarXPLOR.ProcessItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,10 @@ HangarXPLOR.ProcessItem = function()
}

this.displayName = titlePartsFirst + ' - ' + titlePartsMiddle

if (this.hasShip) this.displayName += ltiSuffix
this.displayName += ' (' + this.pledgeId + ')';

if (HangarXPLOR._setting.NoPledgeID != true) this.displayName += ' (' + this.pledgeId + ')';

this.sortName = this.displayName.replace(/^.*? - (.*)$/, '$1');

Expand Down

0 comments on commit a72cca8

Please sign in to comment.