add missing config param

pull/5370/head
Iuri Matias 5 years ago
parent a576844f6b
commit 9a9f0f15f4
  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 {
constructor (blockchain, recorder, logCallBack) {
constructor (blockchain, recorder, logCallBack, config) {
this.blockchain = blockchain
this.recorder = recorder
this.logCallBack = logCallBack
this.config = config
this.event = new EventManager()
}

@ -159,7 +159,7 @@ export class RunTab extends LibraryPlugin {
})
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) => {
var noInstancesText = this.noInstancesText

Loading…
Cancel
Save