webspresso 0.0.72 → 0.0.73
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
|
@@ -2043,7 +2043,7 @@ const RecordList = {
|
|
|
2043
2043
|
}
|
|
2044
2044
|
var msg = 'Import finished: created ' + body.created + ', updated ' + (body.updated || 0) + ', failed ' + (body.failed || 0);
|
|
2045
2045
|
if (body.errors && body.errors.length) {
|
|
2046
|
-
msg += '
|
|
2046
|
+
msg += 'First errors: ' + body.errors.slice(0, 3).map(function (x) { return 'row ' + x.row + ': ' + x.message; }).join('; ');
|
|
2047
2047
|
}
|
|
2048
2048
|
alert(msg);
|
|
2049
2049
|
loadRecords(modelName, state.pagination.page, state.filters);
|