|
|
|
@ -94,7 +94,7 @@ export class Options {
|
|
|
|
|
|
|
|
|
|
// check each condition and return false if something goes wrong
|
|
|
|
|
for (let [conditionIdx, metric] of icon.metrics.entries()) { |
|
|
|
|
const value = this.getLastValueFromMetrics(metric, `Icon ${iconIdx + 1}, Condition ${conditionIdx}`); |
|
|
|
|
const value = this.getLastValueFromMetrics(metric, `Icon ${iconIdx + 1}, Condition ${conditionIdx + 1}`); |
|
|
|
|
if(value === null || value === undefined) { |
|
|
|
|
// TODO: may be throw an error
|
|
|
|
|
return false; |
|
|
|
|