inverted fnm promos w/o stamp

This commit is contained in:
Kyle
2021-12-05 15:27:11 -08:00
parent d2cc82260a
commit e3a1c4d330
18 changed files with 11 additions and 2 deletions

View File

@@ -1391,7 +1391,7 @@ function artFromScryfall(scryfallResponse) {
artIndex.innerHTML = null;
var optionIndex = 0;
scryfallResponse.forEach(card => {
if (card.image_uris && (card.object == 'card' || card.type_line != 'Card')) {
if (card.image_uris && (card.object == 'card' || card.type_line != 'Card') && card.artist) {
scryfallArt.push(card);
var option = document.createElement('option');
option.innerHTML = `${card.name} (${card.set.toUpperCase()} - ${card.artist})`;