|
|
@ -26,7 +26,7 @@ export function getLastMetricValue( |
|
|
|
metricName: string | undefined, |
|
|
|
metricName: string | undefined, |
|
|
|
optionName: string |
|
|
|
optionName: string |
|
|
|
): number | null { |
|
|
|
): number | null { |
|
|
|
if(metricName === undefined) { |
|
|
|
if (metricName === undefined) { |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
// optionName -> helper in Error, mb use option path instead
|
|
|
|
// optionName -> helper in Error, mb use option path instead
|
|
|
|