Skip to content

Commit

Permalink
fix: self highlighting with custom name
Browse files Browse the repository at this point in the history
  • Loading branch information
dsrkafuu committed Mar 17, 2022
1 parent 191ebf0 commit 6d9df8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Combatant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function Combatant({ player }: CombatantProps) {
if (isLimitBreakData(player)) {
classes.push('job-unknown');
} else {
classes.push({ 'job-self': hlYou && name === youName }); // highlight
classes.push({ 'job-self': hlYou && (name === youName || name === 'YOU') }); // highlight
classes.push(`job-${player.job || 'unknown'}`); // job
classes.push(`jobtype-${player.jobType || 'unknown'}`); // jobtype
}
Expand Down

0 comments on commit 6d9df8d

Please sign in to comment.