toggleExplorer only if allowed (fixes #6338)
parent
8ac575ca85
commit
658948e21e
|
@ -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 = () => {
|
||||
|
|
Loading…
Reference in New Issue