Commit 87027b0f by Denis Doria Committed by Torkel Ödegaard

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
parent 50718b59
......@@ -29,6 +29,10 @@ export class QueryRowCtrl {
delete this.target.isNew;
this.toggleCollapse(false);
}
if (this.panel.targets.length < 4) {
this.collapsed = false;
}
}
toggleHideQuery() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment