add missing config param

pull/1/head
Iuri Matias 5 years ago
parent 1f304eddda
commit c07d37b008
  1. 3
      src/app/tabs/runTab/recorder.js
  2. 2
      src/app/udapp/run-tab.js

@ -10,10 +10,11 @@ var confirmDialog = require('../../ui/confirmDialog')
class RecorderUI { class RecorderUI {
constructor (blockchain, recorder, logCallBack) { constructor (blockchain, recorder, logCallBack, config) {
this.blockchain = blockchain this.blockchain = blockchain
this.recorder = recorder this.recorder = recorder
this.logCallBack = logCallBack this.logCallBack = logCallBack
this.config = config
this.event = new EventManager() this.event = new EventManager()
} }

@ -159,7 +159,7 @@ export class RunTab extends LibraryPlugin {
}) })
this.event.register('clearInstance', recorder.clearAll.bind(recorder)) this.event.register('clearInstance', recorder.clearAll.bind(recorder))
this.recorderInterface = new RecorderUI(this.blockchain, recorder, logCallback) this.recorderInterface = new RecorderUI(this.blockchain, recorder, logCallback, config)
this.recorderInterface.event.register('newScenario', (abi, address, contractName) => { this.recorderInterface.event.register('newScenario', (abi, address, contractName) => {
var noInstancesText = this.noInstancesText var noInstancesText = this.noInstancesText

Loading…
Cancel
Save