mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add environment variable to enable/disable tours
NODE_RED_ENABLE_TOURS Also had to patch editor-api/lib/editor/themes.js to pass `editorTheme.tours` to the editor.
This commit is contained in:
@@ -228,6 +228,11 @@ module.exports = {
|
||||
if (theme.theme) {
|
||||
themeSettings.theme = theme.theme;
|
||||
}
|
||||
|
||||
if (theme.hasOwnProperty("tours")) {
|
||||
themeSettings.tours = theme.tours;
|
||||
}
|
||||
|
||||
return themeApp;
|
||||
},
|
||||
context: async function() {
|
||||
|
Reference in New Issue
Block a user