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