From fb0a079666bbb6484b5982cb506ab0327852cb18 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 8 Sep 2021 19:48:27 -0400 Subject: [PATCH] Don't include `slot` if it is 'None' --- strange_eons_to_arkhamdb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strange_eons_to_arkhamdb.js b/strange_eons_to_arkhamdb.js index ab7bda1..a15db72 100644 --- a/strange_eons_to_arkhamdb.js +++ b/strange_eons_to_arkhamdb.js @@ -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') {