sea-chart 0.0.53-alpha.0 → 0.0.53-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -235,14 +235,18 @@ class PivotTableDisplayName extends React.Component {
|
|
|
235
235
|
let valueNumber = parseFloat(value);
|
|
236
236
|
displayValue = isNumber(valueNumber) ? getNumberDisplayString(valueNumber, data) : value;
|
|
237
237
|
} else if (result_type === FORMULA_RESULT_TYPE.ARRAY) {
|
|
238
|
+
console.log('value', value);
|
|
238
239
|
if (COLLABORATOR_COLUMN_TYPES.includes(array_type) && Array.isArray(value)) {
|
|
239
240
|
displayValue = value.map(email => {
|
|
240
241
|
let user = array_type === CellType.COLLABORATOR ? getCollaborator(collaborators, email) : getKnownCollaboratorByEmail(email);
|
|
242
|
+
console.log('user', user);
|
|
241
243
|
return (user || {}).name;
|
|
242
244
|
});
|
|
245
|
+
console.log('displayValue', displayValue);
|
|
243
246
|
displayValue = displayValue.join(' ');
|
|
244
247
|
}
|
|
245
248
|
}
|
|
249
|
+
console.log('default', displayValue);
|
|
246
250
|
displayName = /*#__PURE__*/React.createElement("div", {
|
|
247
251
|
title: displayValue,
|
|
248
252
|
"aria-label": displayValue
|