diff --git a/www/mobile/MenuButton.js b/www/mobile/MenuButton.js index 7b7205b1..f48a8db6 100644 --- a/www/mobile/MenuButton.js +++ b/www/mobile/MenuButton.js @@ -22,6 +22,18 @@ Ext.define('PVE.MenuButton', { }; var items = []; + + if (me.getPveStdMenu()) { + items.push({ + xtype: 'button', + ui: 'plain', + text: gettext('Datacenter'), + handler: addHide(function() { + PVE.Workspace.gotoPage(''); + }) + }); + } + data.forEach(function(el) { items.push(Ext.apply(el, { xtype: 'button', @@ -85,4 +97,4 @@ Ext.define('PVE.MenuButton', { } } -}); \ No newline at end of file +});