forked from matrix/element-web
absolute path thinko
This commit is contained in:
parent
202c155788
commit
58907e5842
|
@ -27,7 +27,7 @@ module.exports = React.createClass({
|
||||||
render: function() {
|
render: function() {
|
||||||
var power;
|
var power;
|
||||||
if (this.props.member) {
|
if (this.props.member) {
|
||||||
var img = "/img/p/p" + Math.floor(20 * this.props.member.powerLevelNorm / 100) + ".png";
|
var img = "img/p/p" + Math.floor(20 * this.props.member.powerLevelNorm / 100) + ".png";
|
||||||
power = <img src={ img } className="mx_MemberTile_power" width="48" height="48" alt=""/>;
|
power = <img src={ img } className="mx_MemberTile_power" width="48" height="48" alt=""/>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue