mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-14 10:42:38 +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 rendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
|
||||||
let baseRendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
|
let baseRendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
|
||||||
const blankRendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
|
const blankRendererPath = props.renderer == 'V3' ? 'V3' : 'Legacy';
|
||||||
if(props.theme[0] === '#') {
|
if(props?.theme && (props?.theme[0] === '#')) {
|
||||||
rendererPath = 'Brew';
|
rendererPath = 'Brew';
|
||||||
}
|
}
|
||||||
let themePath = props.theme ?? '5ePHB';
|
let themePath = props.theme ?? '5ePHB';
|
||||||
|
|||||||
@@ -6,5 +6,6 @@
|
|||||||
"enable_v3" : true,
|
"enable_v3" : true,
|
||||||
"enable_themes" : true,
|
"enable_themes" : true,
|
||||||
"local_environments" : ["docker", "local"],
|
"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