Commit 27c4db06 by Erik Sundell

improve comments

parent 9c8bd347
...@@ -130,7 +130,7 @@ export function ensureQueries(queries?: DataQuery[]): DataQuery[] { ...@@ -130,7 +130,7 @@ export function ensureQueries(queries?: DataQuery[]): DataQuery[] {
} }
/** /**
* A target is non-empty when it has keys other than refId and key. * A target is non-empty when it has keys (with non-empty values) other than refId and key.
*/ */
export function hasNonEmptyQuery(queries: DataQuery[]): boolean { export function hasNonEmptyQuery(queries: DataQuery[]): boolean {
return queries.some( return queries.some(
......
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