getYLabelText = (value) => {
const assetFullName = CHECKBOX_OPTIONS.find((co) => {
console.log({ coValue: co.value, value });
return co.value === value;
});
console.log(assetFullName);
if (assetFullName === -1 || assetFullName === undefined) {
return value;
}
if (showAssetName) {
return `${assetFullName.label} (${value})`;
}
return value;
}