Convert raw_slot2 to String

This commit is contained in:
Adam Goldsmith 2021-09-08 14:57:26 -04:00
parent efbf6e2814
commit abc474c993

View File

@ -139,7 +139,7 @@ function build_card(component) {
card_data.slot = renameSlot(String(raw_slot));
var raw_slot2 = component.settings.get('Slot2');
if (raw_slot2 && raw_slot2 != 'None') {
card_data.slot += '. ' + renameSlot(raw_slot2);
card_data.slot += '. ' + renameSlot(String(raw_slot2));
}
}