diff --git a/client/components/Postman/Postman.js b/client/components/Postman/Postman.js index e7a66722..717a7da8 100644 --- a/client/components/Postman/Postman.js +++ b/client/components/Postman/Postman.js @@ -448,16 +448,16 @@ export default class Run extends Component {
- - true} style={{flexBasis: 180, flexGrow: 1}} onChange={this.changeDomain} onSelect={this.selectDomain}> { domains.map((item, index) => ()) } - + + { query.map((item, index) => { return (
- this.changeQuery(e, index, true)} className="key" /> + this.changeQuery(e, index, true)} className="key" /> = this.changeQuery(e, index)} className="value" /> - this.deleteQuery(index)} /> + this.deleteQuery(index)} />
) }) } - +
{ headers.map((item, index) => { return (
- this.changeHeader(e, index, true)} className="key" /> + this.changeHeader(e, index, true)} className="key" /> = this.changeHeader(e, index)} className="value" /> - this.deleteHeader(index)} /> + this.deleteHeader(index)} />
) }) } - +
BODY
e.stopPropagation()} style={{marginRight: 5}}> - @@ -540,7 +540,7 @@ export default class Run extends Component { > { method === 'POST' && bodyType !== 'form' && bodyType !== 'file' &&
- this.changeBodyType(e.target.value)}> + this.changeBodyType(e.target.value)}> JSON TEXT XML @@ -555,9 +555,9 @@ export default class Run extends Component { bodyForm.map((item, index) => { return (
- this.changeBody(e, index, 'key')} className="key" /> + this.changeBody(e, index, 'key')} className="key" /> [ - this.changeBody(e, index, 'type')}> @@ -567,12 +567,12 @@ export default class Run extends Component { item.type === 'file' ? this.changeBody(e, index, 'value')} multiple className="value" /> : this.changeBody(e, index, 'value')} className="value" /> } - this.deleteBody(index)} /> + this.deleteBody(index)} />
) }) } - +
} {