Преглед изворни кода

fix(): minor query editor fix

Torkel Ödegaard пре 9 година
родитељ
комит
5a241a8290
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      public/app/features/panel/query_editor_row.ts

+ 1 - 0
public/app/features/panel/query_editor_row.ts

@@ -79,6 +79,7 @@ export class QueryRowCtrl {
   }
 
   removeQuery() {
+    delete this.panelCtrl.__collapsedQueryCache[this.target.refId];
     this.panel.targets = _.without(this.panel.targets, this.target);
     this.panelCtrl.refresh();
   }