react-panel: Remove mock response button for now
This commit is contained in:
@@ -188,9 +188,11 @@ export class QueryInspector extends PureComponent<Props, State> {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div>
|
<div>
|
||||||
|
{/*
|
||||||
<button className="btn btn-transparent btn-p-x-0 m-r-1" onClick={this.onToggleMocking}>
|
<button className="btn btn-transparent btn-p-x-0 m-r-1" onClick={this.onToggleMocking}>
|
||||||
Mock response
|
Mock response
|
||||||
</button>
|
</button>
|
||||||
|
*/}
|
||||||
<button className="btn btn-transparent btn-p-x-0 m-r-1" onClick={this.onToggleExpand}>
|
<button className="btn btn-transparent btn-p-x-0 m-r-1" onClick={this.onToggleExpand}>
|
||||||
{this.renderExpandCollapse()}
|
{this.renderExpandCollapse()}
|
||||||
</button>
|
</button>
|
||||||
@@ -215,12 +217,6 @@ export class QueryInspector extends PureComponent<Props, State> {
|
|||||||
onInput={this.setMockedResponse}
|
onInput={this.setMockedResponse}
|
||||||
placeholder="JSON"
|
placeholder="JSON"
|
||||||
/>
|
/>
|
||||||
{/* <textarea
|
|
||||||
className="gf-form-input"
|
|
||||||
style={{width: '95%'}}
|
|
||||||
rows={10}
|
|
||||||
ng-model="ctrl.mockedResponse"
|
|
||||||
placeholder="JSON"></textarea> */}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user