root: hideMenu not working when --read-only is set

This commit is contained in:
jean-emmanuel 2025-04-08 10:32:34 +02:00
parent c65d4ed648
commit 98e5670011
2 changed files with 1 additions and 2 deletions

View file

@ -59,8 +59,6 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro
checkMenuVisibility() {
if (READ_ONLY) return
mainMenu = mainMenu || require('../../ui/main-menu')
if (this.getProp('hideMenu')) {