[develop | DONE | FIXED] indicator-utils: add 'return null' on 2 methods (triggered error on validator project)
This commit is contained in:
parent
310f06b234
commit
0d0c077a4c
|
@ -734,6 +734,7 @@ export class IndicatorUtils {
|
||||||
} else if ((obj[this.getDescriptionObjectName(obj)]).hasOwnProperty("queries")) {
|
} else if ((obj[this.getDescriptionObjectName(obj)]).hasOwnProperty("queries")) {
|
||||||
return "queries";
|
return "queries";
|
||||||
}
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private getDescriptionObjectName(obj) {
|
private getDescriptionObjectName(obj) {
|
||||||
|
@ -746,6 +747,7 @@ export class IndicatorUtils {
|
||||||
} else if (obj.hasOwnProperty("series")) {
|
} else if (obj.hasOwnProperty("series")) {
|
||||||
return "series";
|
return "series";
|
||||||
}
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private extractType(obj, indicatorPath: IndicatorPath): IndicatorPathType {
|
private extractType(obj, indicatorPath: IndicatorPath): IndicatorPathType {
|
||||||
|
|
Loading…
Reference in New Issue