mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Move help customisation under menu settings
This commit is contained in:
parent
a2aa78afd4
commit
0d557094b2
@ -166,8 +166,8 @@ var RED = (function() {
|
||||
null,
|
||||
{id:"btn-keyboard-shortcuts",label:"Keyboard Shortcuts",onselect:RED.keyboard.showHelp},
|
||||
{id:"btn-help",
|
||||
label: RED.settings.theme("help.label","Node-RED Website"),
|
||||
href: RED.settings.theme("help.url","http://nodered.org/docs")
|
||||
label: RED.settings.theme("menu.btn-help.label","Node-RED Website"),
|
||||
href: RED.settings.theme("menu.btn-help.url","http://nodered.org/docs")
|
||||
}
|
||||
]
|
||||
});
|
||||
|
@ -129,7 +129,6 @@ module.exports = {
|
||||
if (theme.hasOwnProperty("userMenu")) {
|
||||
themeSettings.userMenu = theme.userMenu;
|
||||
}
|
||||
//themeSettings.deployButton = theme.deployButton || themeSettings.deployButton;
|
||||
|
||||
if (theme.login) {
|
||||
if (theme.login.image) {
|
||||
@ -142,10 +141,6 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
|
||||
if (theme.help) {
|
||||
themeSettings.help = theme.help;
|
||||
}
|
||||
|
||||
if (theme.hasOwnProperty("menu")) {
|
||||
themeSettings.menu = theme.menu;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user