mirror of
https://github.com/Aviortheking/codestats-readme.git
synced 2025-04-22 10:42:08 +00:00
Fixed "cannot read property 'title_color' of undefined
Signed-off-by: Florian Bouillon <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
e3ccb147f6
commit
41b7b5afff
@ -34,8 +34,8 @@ export default class Card {
|
|||||||
this.hideBorder = parseBoolean(options.hide_border)
|
this.hideBorder = parseBoolean(options.hide_border)
|
||||||
this.hideTitle = parseBoolean(options.hide_title)
|
this.hideTitle = parseBoolean(options.hide_title)
|
||||||
this.colors = {
|
this.colors = {
|
||||||
titleColor: getColor('title_color', options.title_color, options.theme),
|
titleColor: getColor('title_color', options?.title_color, options?.theme),
|
||||||
bgColor: getColor('bg_color', options.bg_color, options.theme)
|
bgColor: getColor('bg_color', options?.bg_color, options?.theme)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user