personal explorer doesn't show move average rating

openingexplorer3
Thibault Duplessis 2021-10-19 09:53:42 +02:00
parent 7eadfc9862
commit 8139647bdc
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ function showMoveTable(ctrl: AnalyseCtrl, data: OpeningData): VNode | null {
{
attrs: {
'data-uci': move.uci,
title: move.uci ? ctrl.trans('averageRatingX', move.averageRating) : 'Total',
title: move.uci ? (move.averageRating ? ctrl.trans('averageRatingX', move.averageRating) : '') : 'Total',
},
},
[