root: hideMenu not working when --read-only is set
This commit is contained in:
parent
c65d4ed648
commit
98e5670011
2 changed files with 1 additions and 2 deletions
|
|
@ -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')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue