code7-leia 0.1.173 → 0.1.174

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.
@@ -1401,12 +1401,13 @@ var uploadFilesActionSuccess = function uploadFilesActionSuccess(_ref3) {
1401
1401
  }
1402
1402
  };
1403
1403
  };
1404
- var trainingAction = function trainingAction(id, pressets) {
1404
+ var trainingAction = function trainingAction(id, pressets, language) {
1405
1405
  return {
1406
1406
  type: Types.TRAINING_REQUEST,
1407
1407
  payload: {
1408
1408
  id: id,
1409
- pressets: pressets
1409
+ pressets: pressets,
1410
+ language: language
1410
1411
  }
1411
1412
  };
1412
1413
  };
@@ -1555,7 +1556,7 @@ var FileArea = function FileArea() {
1555
1556
  setPresset([]);
1556
1557
  };
1557
1558
  var handleTrain = function handleTrain() {
1558
- dispatch(trainingAction(id, presset));
1559
+ dispatch(trainingAction(id, presset, language));
1559
1560
  setModalTraining(false);
1560
1561
  setPresset([]);
1561
1562
  };