mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Disallowed create/edit/delete floor plan on the demo
This commit is contained in:
parent
f81727880d
commit
fea81585d9
@ -497,6 +497,7 @@ beestat.component.card.floor_plan_editor.prototype.decorate_top_right_ = functio
|
||||
|
||||
var menu = (new beestat.component.menu()).render(parent);
|
||||
|
||||
if (window.is_demo === false) {
|
||||
menu.add_menu_item(new beestat.component.menu_item()
|
||||
.set_text('Add New')
|
||||
.set_icon('home_plus')
|
||||
@ -525,6 +526,7 @@ beestat.component.card.floor_plan_editor.prototype.decorate_top_right_ = functio
|
||||
).render();
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
menu.add_menu_item(new beestat.component.menu_item()
|
||||
.set_text('Help')
|
||||
|
Loading…
x
Reference in New Issue
Block a user