remove master db quick tab from variant analysis

pull/9711/merge
Niklas Fiekas 2021-10-23 23:42:27 +02:00
parent fe9bb604f8
commit 8d09259f6f
1 changed files with 5 additions and 1 deletions

View File

@ -358,7 +358,11 @@ const explorerTitle = (explorer: ExplorerCtrl) => {
);
const playerName = explorer.config.data.playerName.value();
return h('div.explorer-title', [
db == 'masters' ? active([h('strong', 'Masters'), ' database']) : otherLink('Masters'),
db == 'masters'
? active([h('strong', 'Masters'), ' database'])
: explorer.config.allDbs.includes('masters')
? otherLink('Masters')
: undefined,
db == 'lichess' ? active([h('strong', 'Lichess'), ' database']) : otherLink('Lichess'),
db == 'player'
? active([