0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 22:52:39 +00:00

Edit working - with noise.

This commit is contained in:
David Bolack
2024-02-27 19:33:33 -06:00
parent 50c9d95ce0
commit 56851f2c2d
3 changed files with 21 additions and 4 deletions

View File

@@ -211,7 +211,10 @@ const MetadataEditor = createClass({
});
};
const currentTheme = mergedThemes[`${_.upperFirst(this.props.metadata.themeClass?this.props.metadata.themeClass:this.props.metadata.renderer)}`][this.props.metadata.theme];
const currentTheme = mergedThemes[`${_.upperFirst(this.props.metadata.theme[0] === '#' ? 'Brew' : this.props.metadata.renderer)}`][this.props.metadata.theme];
console.log('currentTheme');
console.log(this.props.metadata.themeClass);
console.log('currentTheme');
let dropdown;
if(this.props.metadata.renderer == 'legacy') {