Skip to content

Commit

Permalink
app: Avoid error on RunStatsNote (#3104)
Browse files Browse the repository at this point in the history
  • Loading branch information
martonp authored Dec 2, 2024
1 parent ccd0221 commit 98d4def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/webserver/site/src/js/markets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,8 @@ export default class MarketsPage extends BasePage {
reputation: () => { this.updateReputation() },
feepayment: () => { this.updateReputation() },
runstats: (note: RunStatsNote) => {
this.mm.update()
if (note.baseID !== this.market.base.id || note.quoteID !== this.market.quote.id || note.host !== this.market.dex.host) return
this.mm.update()
if (Boolean(this.mmRunning) !== Boolean(note.stats)) {
this.mmRunning = Boolean(note.stats)
this.resolveOrderFormVisibility()
Expand Down

0 comments on commit 98d4def

Please sign in to comment.