@truedat/dd 4.46.0 → 4.46.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.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dd",
|
|
3
|
-
"version": "4.46.
|
|
3
|
+
"version": "4.46.3",
|
|
4
4
|
"description": "Truedat Web Data Dictionary",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@testing-library/jest-dom": "^5.16.4",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "4.46.
|
|
37
|
+
"@truedat/test": "4.46.3",
|
|
38
38
|
"babel-jest": "^28.1.0",
|
|
39
39
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
40
40
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"@apollo/client": "^3.6.4",
|
|
91
|
-
"@truedat/auth": "4.46.
|
|
92
|
-
"@truedat/core": "4.46.
|
|
93
|
-
"@truedat/df": "4.46.
|
|
91
|
+
"@truedat/auth": "4.46.3",
|
|
92
|
+
"@truedat/core": "4.46.3",
|
|
93
|
+
"@truedat/df": "4.46.3",
|
|
94
94
|
"lodash": "^4.17.21",
|
|
95
95
|
"path-to-regexp": "^1.7.0",
|
|
96
96
|
"prop-types": "^15.8.1",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"react-dom": ">= 16.8.6 < 17",
|
|
112
112
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "dfb9df52cce497f8040ba6c17bfb23c9225683d3"
|
|
115
115
|
}
|
|
@@ -20,9 +20,6 @@ export const RemovalButtonDecorator = (grant) => (
|
|
|
20
20
|
|
|
21
21
|
export const StructureGrants = ({ columns, grants, userPermissions }) => {
|
|
22
22
|
const { formatMessage } = useIntl();
|
|
23
|
-
const filteredColumns = _.filter((c) => _.any(_.prop(c.name))(grants))(
|
|
24
|
-
columns
|
|
25
|
-
);
|
|
26
23
|
const canUpdateRemoval = _.getOr(
|
|
27
24
|
false,
|
|
28
25
|
"update_grant_removal"
|
|
@@ -45,7 +42,7 @@ export const StructureGrants = ({ columns, grants, userPermissions }) => {
|
|
|
45
42
|
<Table basic="very">
|
|
46
43
|
<Table.Header>
|
|
47
44
|
<Table.Row>
|
|
48
|
-
{
|
|
45
|
+
{columns.map((column, i) => (
|
|
49
46
|
<Table.HeaderCell
|
|
50
47
|
key={i}
|
|
51
48
|
textAlign={column.textAlign}
|
|
@@ -105,9 +105,7 @@ export const StartDateDecorator = ({ start_date }) => {
|
|
|
105
105
|
const { locale } = useIntl();
|
|
106
106
|
return (
|
|
107
107
|
<Popup
|
|
108
|
-
content={
|
|
109
|
-
<Moment locale={locale} date={start_date} format="YYYY-MM-DD HH:mm" />
|
|
110
|
-
}
|
|
108
|
+
content={<Moment locale={locale} date={start_date} format="YYYY-MM-DD" />}
|
|
111
109
|
trigger={
|
|
112
110
|
<Header>
|
|
113
111
|
<Header.Subheader>
|