Show server name instead of description

This commit is contained in:
Chris Blanchard 2015-08-30 15:55:56 +01:00
parent 17ff3b06cc
commit a78939ab5c

View file

@ -444,7 +444,7 @@ var ServerVoting = React.createClass({
onClick={ e => e.preventDefault() }
key={server.id}>
<span className="badge">{votes}</span>
{server.description || server.dns}
{server.name || server.description || server.dns}
</a>
);
} else {