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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user