From 0b3b3a5f33b627317ac564d006f0102dd15fca5b Mon Sep 17 00:00:00 2001 From: RumovZ Date: Mon, 18 Oct 2021 09:12:10 +0200 Subject: [PATCH] sentCardId -> requestedCardId --- ts/card-info/CardInfo.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ts/card-info/CardInfo.svelte b/ts/card-info/CardInfo.svelte index 5ec718efb..b63bee1db 100644 --- a/ts/card-info/CardInfo.svelte +++ b/ts/card-info/CardInfo.svelte @@ -17,10 +17,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html $: if (cardId === null) { stats = undefined; } else { - const sentCardId = cardId; - getCardStats(sentCardId).then((s) => { + const requestedCardId = cardId; + getCardStats(requestedCardId).then((s) => { /* Skip if another update has been triggered in the meantime. */ - if (sentCardId === cardId) { + if (requestedCardId === cardId) { stats = s; } });