|
|
@ -56,8 +56,6 @@ class Deck {
|
|
|
|
).then((res) => {
|
|
|
|
).then((res) => {
|
|
|
|
res.data.forEach((el) => {
|
|
|
|
res.data.forEach((el) => {
|
|
|
|
if (el.cards) el.cards.forEach((el) => {
|
|
|
|
if (el.cards) el.cards.forEach((el) => {
|
|
|
|
|
|
|
|
|
|
|
|
if(el.description) console.log("match"+el.description.match(tracking))
|
|
|
|
|
|
|
|
if (el.description && el.description.match(tracking) != null) {
|
|
|
|
if (el.description && el.description.match(tracking) != null) {
|
|
|
|
resolve(el)
|
|
|
|
resolve(el)
|
|
|
|
tmpVal = true
|
|
|
|
tmpVal = true
|
|
|
|