Torkel Ödegaard 9 лет назад
Родитель
Сommit
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();
   }