Convert raw_slot2 to String
This commit is contained in:
parent
efbf6e2814
commit
abc474c993
@ -139,7 +139,7 @@ function build_card(component) {
|
|||||||
card_data.slot = renameSlot(String(raw_slot));
|
card_data.slot = renameSlot(String(raw_slot));
|
||||||
var raw_slot2 = component.settings.get('Slot2');
|
var raw_slot2 = component.settings.get('Slot2');
|
||||||
if (raw_slot2 && raw_slot2 != 'None') {
|
if (raw_slot2 && raw_slot2 != 'None') {
|
||||||
card_data.slot += '. ' + renameSlot(raw_slot2);
|
card_data.slot += '. ' + renameSlot(String(raw_slot2));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user