@truedat/dd 7.8.6 → 7.9.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "7.8.6",
3
+ "version": "7.9.1",
4
4
  "description": "Truedat Web Data Dictionary",
5
5
  "sideEffects": false,
6
6
  "module": "src/index.js",
@@ -48,7 +48,7 @@
48
48
  "@testing-library/jest-dom": "^6.6.3",
49
49
  "@testing-library/react": "^16.3.0",
50
50
  "@testing-library/user-event": "^14.6.1",
51
- "@truedat/test": "7.8.6",
51
+ "@truedat/test": "7.9.1",
52
52
  "identity-obj-proxy": "^3.0.0",
53
53
  "jest": "^29.7.0",
54
54
  "redux-saga-test-plan": "^4.0.6"
@@ -83,5 +83,5 @@
83
83
  "svg-pan-zoom": "^3.6.2",
84
84
  "swr": "^2.3.3"
85
85
  },
86
- "gitHead": "8dbca36fe9ab1cb4e8455c6a9d122fe289759b72"
86
+ "gitHead": "aa5c7a47f252393e66ebfb6ea31981221fe641bb"
87
87
  }
@@ -60,7 +60,11 @@ export const StructuresUploadEventsTable = ({
60
60
  translatedHeader: !event.response
61
61
  ? ""
62
62
  : formatMessage(
63
- { id: "structures.bulkUpdateStructures.success.header" },
63
+ {
64
+ id: _.isEmpty(event.response.errors)
65
+ ? "structures.bulkUpdateStructures.success.header.without_errors"
66
+ : "structures.bulkUpdateStructures.success.header",
67
+ },
64
68
  {
65
69
  count_ids: event.response.ids.length,
66
70
  count_errors: event.response.errors.length,
@@ -137,7 +141,7 @@ export const StructuresUploadEventsTable = ({
137
141
  {events[eventKey].hash ? (
138
142
  <>
139
143
  <FormattedMessage
140
- id={`structures.bulkUploadEvents.props.csv_hash`}
144
+ id={`structures.bulkUploadEvents.props.file_hash`}
141
145
  />
142
146
  : {events[eventKey].hash}
143
147
  </>
@@ -43,7 +43,7 @@ exports[`<StructuresUploadEventsTable /> matches the latest snapshot 1`] = `
43
43
  class=""
44
44
  >
45
45
  <p>
46
- structures.bulkUpdateStructures.success.header
46
+ structures.bulkUpdateStructures.success.header.without_errors
47
47
  </p>
48
48
  <ul
49
49
  class="csv-bulk-upload-error"