Do not collapse if there is only 1-3 queries #7836 (#7878)

Also has the side effect of new panels having not collapsed queries when
being created
This commit is contained in:
Denis Doria
2017-03-18 15:23:40 +01:00
committed by Torkel Ödegaard
parent 50718b592c
commit 87027b0f77
@@ -29,6 +29,10 @@ export class QueryRowCtrl {
delete this.target.isNew;
this.toggleCollapse(false);
}
if (this.panel.targets.length < 4) {
this.collapsed = false;
}
}
toggleHideQuery() {