Sfoglia il codice sorgente

fix(): minor query editor fix

Torkel Ödegaard 9 anni fa
parent
commit
5a241a8290
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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();
   }