mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
Fix issue with empty theme ( /faq )
This commit is contained in:
@@ -184,7 +184,7 @@ const BrewRenderer = (props)=>{
|
||||
let rendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
|
||||
let baseRendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
|
||||
const blankRendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
|
||||
if(props.theme[0] === '#') {
|
||||
if(props?.theme && (props?.theme[0] === '#')) {
|
||||
rendererPath = 'Brew';
|
||||
}
|
||||
let themePath = props.theme ?? '5ePHB';
|
||||
|
||||
@@ -6,5 +6,6 @@
|
||||
"enable_v3" : true,
|
||||
"enable_themes" : true,
|
||||
"local_environments" : ["docker", "local"],
|
||||
"publicUrl" : "https://homebrewery.naturalcrit.com"
|
||||
"publicUrl" : "https://homebrewery.naturalcrit.com",
|
||||
"mongodb_uri" : "mongodb://127.0.0.1/homebrewery3"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user