Skip to content

Commit

Permalink
pass node to buildTheme ralphwetzel/node-red-mcu-plugin#50
Browse files Browse the repository at this point in the history
  • Loading branch information
phoddie committed Apr 19, 2024
1 parent a02cd43 commit 3729b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/dashboard/ui_nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class UIBaseNode extends Node {
onStart(config) {
super.onStart(config);
model.showTitleBar = config.site.hideToolbar == "false";
buildTheme(config.theme);
buildTheme(config.theme, this);
ThemeBuilders.forEach(ThemeBuilder => ThemeBuilder(config.theme));
}
}
Expand Down

0 comments on commit 3729b1c

Please sign in to comment.