in src/VariableQueryEditor.tsx [166:191]
render() {
if (this.state.loading) {
return (
<div className="gf-form max-width-21">
<span className="gf-form-label width-10 query-keyword">Logging Scope</span>
<div className="gf-form-select-wrapper max-width-12">
<select className="gf-form-input">
<option>Loading...</option>
</select>
</div>
</div>
);
}
return (
<>
<VariableQueryField
value={this.state.selectedQueryType}
options={this.queryTypes}
onChange={(value) => this.onQueryTypeChange(value)}
label="Logging Scope"
/>
{this.renderLogScopeSwitch(this.state.selectedQueryType)}
</>
);
}