pit change on the path row

pull/2249/head
lianahus 3 years ago committed by yann300
parent 72ad3afb62
commit 7469ba55af
  1. 4
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx
  2. 1
      libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts
  3. 48107
      package-lock.json

@ -752,7 +752,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
<input className="custom-control-input" type="radio" name="configradio" value="file" onChange={toggleConfigType} checked={state.useFileConfiguration} id="scFileConfig" />
<label className="form-check-label custom-control-label" htmlFor="scFileConfig">Use configuration file</label>
</div>
<div className={`pt-2 ml-4 ml-2 align-items-start flex-column d-flex`}>
<div className={`pt-2 ml-4 ml-2 align-items-start justify-content-between d-flex`}>
{ (!showFilePathInput && state.useFileConfiguration) && <span
title="Click to open the config file."
onClick={openFile}
@ -771,7 +771,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
}
}}
/>
{ !showFilePathInput && <button disabled={!state.useFileConfiguration} className="btn-secondary" onClick={() => {setShowFilePathInput(true)}}>Set new config file</button> }
{ !showFilePathInput && <button disabled={!state.useFileConfiguration} className="btn-secondary" onClick={() => {setShowFilePathInput(true)}}>Change</button> }
</div>
</div>
<div className="px-4">

@ -48,7 +48,6 @@ export class CompileTabLogic {
this.api.setCompilerParameters({ evmVersion: this.evmVersion })
this.compiler.set('evmVersion', this.evmVersion)
this.configFilePath = this.api.getCompilerParameters().configFilePath
this.language = getValidLanguage(this.api.getCompilerParameters().language)
if (this.language != null) {
this.compiler.set('language', this.language)

48107
package-lock.json generated

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save