mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: prometheus does not have two editor modes, fixes #9025
This commit is contained in:
parent
167995776f
commit
d4dd0222fa
@ -29,10 +29,6 @@ export class SubmenuCtrl {
|
||||
var search = _.extend(this.$location.search(), {editview: editview});
|
||||
this.$location.search(search);
|
||||
}
|
||||
|
||||
exitBuildMode() {
|
||||
this.dashboard.toggleEditMode();
|
||||
}
|
||||
}
|
||||
|
||||
export function submenuDirective() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
<query-editor-row query-ctrl="ctrl" can-collapse="true" has-text-edit-mode="true">
|
||||
<query-editor-row query-ctrl="ctrl" can-collapse="true" has-text-edit-mode="false">
|
||||
<div class="gf-form-inline">
|
||||
<div class="gf-form gf-form--grow">
|
||||
<textarea rows="3" class="gf-form-input" ng-model="ctrl.target.expr" spellcheck="false" placeholder="query expression" data-min-length=0 data-items=100 give-focus="ctrl.target.refId == 'A'" ng-model-onblur ng-change="ctrl.refreshMetricData()"></textarea>
|
||||
|
Loading…
Reference in New Issue
Block a user