toggleExplorer only if allowed (fixes #6338)

pull/6340/head
Niklas Fiekas 2020-04-07 13:17:55 +02:00
parent 8ac575ca85
commit 658948e21e
1 changed files with 1 additions and 1 deletions

View File

@ -805,7 +805,7 @@ export default class AnalyseCtrl {
toggleExplorer = (): void => {
if (this.practice) this.togglePractice();
this.explorer.toggle();
if (this.explorer.enabled() || this.explorer.allowed()) this.explorer.toggle();
}
togglePractice = () => {