@webitel/ui-sdk 3.1.58 → 3.1.59
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.
package/package.json
CHANGED
|
@@ -29,17 +29,9 @@ export default class TableStoreModule extends BaseStoreModule {
|
|
|
29
29
|
fields = [...new Set(fields)];
|
|
30
30
|
return fields;
|
|
31
31
|
},
|
|
32
|
-
// GET_DATA_FIELDS_BY_VALUE: (state) => (headerValues) => state.headers
|
|
33
|
-
// .reduce((fields, header) => {
|
|
34
|
-
// if (headerValues.includes(header.value)) return fields.concat(header.field);
|
|
35
|
-
// return [...new Set(fields)];
|
|
36
|
-
// }, []),
|
|
37
32
|
|
|
38
33
|
// main GET_LIST params collector
|
|
39
34
|
GET_LIST_PARAMS: (state, getters) => (query) => {
|
|
40
|
-
// const fields = (query.fields
|
|
41
|
-
// ? getters.GET_DATA_FIELDS_BY_VALUE(query.fields)
|
|
42
|
-
// : getters.FIELDS).concat(getters.REQUIRED_FIELDS);
|
|
43
35
|
const fields = getters.FIELDS.concat(getters.REQUIRED_FIELDS);
|
|
44
36
|
|
|
45
37
|
const filters = getters.GET_FILTERS || getters['filters/GET_FILTERS'];
|