hide rating range in lobby pools if showRatings disabled

deepcrayonfish^2
Maxwell Rosenberg 2021-12-08 21:22:42 -05:00 committed by Niklas Fiekas
parent 0218370535
commit 2a34b6a3f0
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ export function render(ctrl: LobbyController) {
},
[
h('div.clock', pool.lim + '+' + pool.inc),
active && member!.range ? renderRange(member!.range!) : h('div.perf', pool.perf),
active && member!.range && ctrl.opts.showRatings ? renderRange(member!.range!) : h('div.perf', pool.perf),
active ? spinner() : null,
]
);