diff --git a/src/stores/summary-card-store.ts b/src/stores/summary-card-store.ts index 39c89769..2ea3cbcd 100644 --- a/src/stores/summary-card-store.ts +++ b/src/stores/summary-card-store.ts @@ -157,11 +157,11 @@ export default class SummaryCardStore { onBotContractEvent(contract: TContractInfo) { const { profit } = contract; const indicative = getIndicativePrice(contract as ProposalOpenContract); + this.profit = profit; if (this.contract_id !== contract.id) { this.clear(false); this.contract_id = contract.id; - this.profit = profit; this.indicative = indicative; }