@longline/aqua-ui 1.0.80 → 1.0.81
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
|
@@ -306,13 +306,7 @@ var XhrDialog = function (_a) {
|
|
|
306
306
|
props.error && props.error.response && props.error.response.status === 422 && props.error.response.data &&
|
|
307
307
|
React.createElement(React.Fragment, null,
|
|
308
308
|
React.createElement("div", null, "Details"),
|
|
309
|
-
React.createElement("div", null,
|
|
310
|
-
return React.createElement("div", { key: key },
|
|
311
|
-
React.createElement("span", null, key),
|
|
312
|
-
React.createElement("div", null, props.error.response.data[key].map(function (error, index) {
|
|
313
|
-
return React.createElement("div", { key: index }, error);
|
|
314
|
-
})));
|
|
315
|
-
})))),
|
|
309
|
+
React.createElement("div", null, props.error.response.data.message))),
|
|
316
310
|
React.createElement(Dialog.Footer, null,
|
|
317
311
|
props.onRetry && React.createElement(PrimaryButton, { onClick: props.onRetry }, "Retry"),
|
|
318
312
|
React.createElement(PrimaryButton, { onClick: props.onClose }, "OK"))));
|