sea-chart 0.0.56-alpha.2 → 0.0.56-alpha.3

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.
@@ -4,7 +4,6 @@ class CellFormatterFactory {
4
4
  if (FormatterConfig[formatterType]) {
5
5
  return FormatterConfig[formatterType];
6
6
  }
7
- // return FormatterConfig[DEFAULT]; // todo
8
7
  return null;
9
8
  }
10
9
  }
@@ -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
- collaborators,
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sea-chart",
3
- "version": "0.0.56-alpha.2",
3
+ "version": "0.0.56-alpha.3",
4
4
  "main": "./dist/index.js",
5
5
  "dependencies": {
6
6
  "@antv/data-set": "0.11.8",