Add copy to clipboard for debug text and some bug fixes

This commit is contained in:
John R. Supplee 2021-12-20 14:33:42 +02:00
parent 94525a4d3d
commit 49214747cd
4 changed files with 45 additions and 9 deletions

View file

@ -114,11 +114,14 @@ export class QueryParams {
}
getPredicate(operator) {
if (typeof this.params[operator] === 'object') {
return this.params[operator][0];
} else {
return this.params[operator];
if (this.hasOperator(operator)){
if (typeof this.params[operator] === 'object') {
return this.params[operator][0];
} else {
return this.params[operator];
}
}
return null;
}
getPredicates(operator) {