sea-chart 0.0.56-alpha.2 → 0.0.56-alpha.4
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.
|
@@ -204,10 +204,8 @@ export const getFormattedCell = function (column, row) {
|
|
|
204
204
|
// is archive view: row data can get form rowdata
|
|
205
205
|
value = isArchiveViewRowData(row, column) ? value : formulaRow[key];
|
|
206
206
|
if (!value || !Array.isArray(value) || value.length === 0) break;
|
|
207
|
-
const
|
|
208
|
-
|
|
209
|
-
departments
|
|
210
|
-
} = window.app.state;
|
|
207
|
+
const collaborators = context.getCollaboratorsFromCache();
|
|
208
|
+
const departments = context.getDepartments();
|
|
211
209
|
const {
|
|
212
210
|
display_column_key,
|
|
213
211
|
array_type,
|
|
@@ -377,9 +375,11 @@ export const getFormattedCell = function (column, row) {
|
|
|
377
375
|
case CellType.CREATOR:
|
|
378
376
|
case CellType.LAST_MODIFIER:
|
|
379
377
|
{
|
|
378
|
+
const collaborators = context.getCollaboratorsFromCache();
|
|
380
379
|
if (value) {
|
|
381
380
|
displayValue = createColumnFormatter(type, {
|
|
382
|
-
value
|
|
381
|
+
value,
|
|
382
|
+
collaborators
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
385
|
break;
|