0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 14:52:38 +00:00

Work in progress.

Still issues with saving the state  of the theme pulldowns and collecting the written in theme.
This commit is contained in:
David Bolack
2024-12-30 12:28:47 -06:00
parent 7c357a2aa1
commit fe2d02a24c
3 changed files with 33 additions and 10 deletions

View File

@@ -151,9 +151,10 @@ const EditPage = createClass({
},
handleMetaChange : function(metadata, field=undefined){
if(field == 'theme' || field == 'renderer') // Fetch theme bundle only if theme or renderer was changed
if(field == 'theme' || field == 'renderer') {// Fetch theme bundle only if theme or renderer was changed
console.log(metadata);
fetchThemeBundle(this, metadata.renderer, metadata.theme);
}
this.setState((prevState)=>({
brew : {
...prevState.brew,