Fix stringyness of subtitle
This commit is contained in:
parent
7351eade40
commit
e4a6b2db6b
@ -145,7 +145,7 @@ function build_card(component) {
|
|||||||
|
|
||||||
var subtitle = component.settings.get('Subtitle');
|
var subtitle = component.settings.get('Subtitle');
|
||||||
if (subtitle && subtitle != '') {
|
if (subtitle && subtitle != '') {
|
||||||
card_data.subname = subtitle;
|
card_data.subname = String(subtitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
var faction2 = component.settings.get('CardClass2');
|
var faction2 = component.settings.get('CardClass2');
|
||||||
|
Loading…
Reference in New Issue
Block a user