fix initiallizing currentFile

pull/5370/head
yann300 3 years ago committed by davidzagi93@gmail.com
parent 2d0a597f0b
commit ae2e0b45fc
  1. 2
      apps/remix-ide/src/app/tabs/compile-tab.js

@ -114,7 +114,6 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA
}
async onActivation () {
this.currentFile = await this.call('fileManager', 'file')
super.onActivation()
this.call('filePanel', 'registerContextMenuItem', {
id: 'solidity',
@ -125,6 +124,7 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA
path: [],
pattern: []
})
this.currentFile = await this.call('fileManager', 'file')
}
getCompilerParameters () {

Loading…
Cancel
Save