Fix for broken build
This commit is contained in:
parent
525a32f9f0
commit
32457e83f0
|
@ -556,7 +556,7 @@ function initialize(options) {
|
|||
|
||||
// Handle legacy location of font-family configuration
|
||||
// console.warn('Conf - ', options.themeVariables.fontFamily);
|
||||
if (options.fontFamily) {
|
||||
if (options && options.fontFamily) {
|
||||
if (!options.themeVariables) {
|
||||
options.themeVariables = { fontFamily: options.fontFamily };
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue