pull/3838/head
Joseph Izang 1 year ago
parent 9069a505b3
commit c77c62021a
  1. 3
      apps/remix-ide/src/app/tabs/analysis-tab.js

@ -65,8 +65,7 @@ class AnalysisTab extends ViewPlugin {
payloadType = 'warning' payloadType = 'warning'
} }
}) })
console.log('what is payload type?', payloadType)
console.log('Is hints updated yet?', this.hints)
if (count > 0 && this.hints.length > 0) { if (count > 0 && this.hints.length > 0) {
const totalCount = count === this.hints.length ? count : count + this.hints.length const totalCount = count === this.hints.length ? count : count + this.hints.length
this.emit('statusChanged', { key: totalCount, title: `${totalCount} warning${totalCount === 1 ? '' : 's'}`, type: payloadType }) this.emit('statusChanged', { key: totalCount, title: `${totalCount} warning${totalCount === 1 ? '' : 's'}`, type: payloadType })

Loading…
Cancel
Save