@truedat/dd 4.49.4 → 4.49.5
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dd",
|
|
3
|
-
"version": "4.49.
|
|
3
|
+
"version": "4.49.5",
|
|
4
4
|
"description": "Truedat Web Data Dictionary",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"@apollo/client": "^3.6.4",
|
|
91
|
-
"@truedat/auth": "4.49.
|
|
92
|
-
"@truedat/core": "4.49.
|
|
93
|
-
"@truedat/df": "4.49.
|
|
91
|
+
"@truedat/auth": "4.49.5",
|
|
92
|
+
"@truedat/core": "4.49.5",
|
|
93
|
+
"@truedat/df": "4.49.5",
|
|
94
94
|
"lodash": "^4.17.21",
|
|
95
95
|
"path-to-regexp": "^1.7.0",
|
|
96
96
|
"prop-types": "^15.8.1",
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"react-dom": ">= 16.8.6 < 17",
|
|
113
113
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
114
114
|
},
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "6d87a143d6f9cfbcd54443e0bd02309ba5f8ebab"
|
|
116
116
|
}
|
|
@@ -65,14 +65,14 @@ describe("selectors: getGrantsTableColumns", () => {
|
|
|
65
65
|
});
|
|
66
66
|
|
|
67
67
|
it("get specified columns in reducer", () => {
|
|
68
|
-
const
|
|
68
|
+
const grantsTableColumns = [
|
|
69
69
|
{
|
|
70
70
|
name: "foo",
|
|
71
71
|
fieldDecorator: _.identity,
|
|
72
72
|
},
|
|
73
73
|
];
|
|
74
|
-
const columns = getGrantsTableColumns({ ...state,
|
|
75
|
-
expect(columns).toStrictEqual(
|
|
74
|
+
const columns = getGrantsTableColumns({ ...state, grantsTableColumns });
|
|
75
|
+
expect(columns).toStrictEqual(grantsTableColumns);
|
|
76
76
|
});
|
|
77
77
|
});
|
|
78
78
|
|
|
@@ -226,7 +226,11 @@ export const defaultGrantsTableColumns = [
|
|
|
226
226
|
];
|
|
227
227
|
|
|
228
228
|
export const getGrantsTableColumns = createSelector(
|
|
229
|
-
[
|
|
229
|
+
[
|
|
230
|
+
_.prop("grantsTableColumns"),
|
|
231
|
+
_.prop("authentication"),
|
|
232
|
+
_.prop("onlyMyGrants"),
|
|
233
|
+
],
|
|
230
234
|
(grantsColumns, authentication, onlyMyGrants) => {
|
|
231
235
|
return _.flow(
|
|
232
236
|
_.defaultTo(defaultGrantsTableColumns),
|