oro-sdk 2.15.1-dev1 → 2.17.0

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.
@@ -1398,21 +1398,19 @@ function populateWorkflowField(_x6, _x7) {
1398
1398
 
1399
1399
  function _populateWorkflowField() {
1400
1400
  _populateWorkflowField = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(question, answerValue) {
1401
- var answer, displayedAnswer, displayedAnswer1, displayedAnswer2;
1401
+ var answer, displayedAnswer;
1402
1402
  return runtime_1.wrap(function _callee4$(_context4) {
1403
1403
  while (1) {
1404
1404
  switch (_context4.prev = _context4.next) {
1405
1405
  case 0:
1406
1406
  displayedAnswer = undefined;
1407
1407
  _context4.t0 = question.kind;
1408
- _context4.next = _context4.t0 === 'hybrid' ? 4 : _context4.t0 === 'radio' ? 7 : _context4.t0 === 'radio-card' ? 7 : _context4.t0 === 'select' ? 7 : _context4.t0 === 'multiple' ? 10 : _context4.t0 === 'checkbox-group' ? 10 : _context4.t0 === 'images' ? 13 : 17;
1408
+ _context4.next = _context4.t0 === 'text-select-group' ? 4 : _context4.t0 === 'radio' ? 7 : _context4.t0 === 'radio-card' ? 7 : _context4.t0 === 'select' ? 7 : _context4.t0 === 'multiple' ? 10 : _context4.t0 === 'checkbox-group' ? 10 : _context4.t0 === 'images' ? 13 : 17;
1409
1409
  break;
1410
1410
 
1411
1411
  case 4:
1412
1412
  if (question.answers) {
1413
- displayedAnswer1 = question.answers[answerValue].text.split(" ")[0];
1414
- displayedAnswer2 = question.answers[answerValue].text.split(" ")[1];
1415
- displayedAnswer = displayedAnswer1 + " " + displayedAnswer2;
1413
+ displayedAnswer = answerValue[0] + " " + question.answers[answerValue[1]].text;
1416
1414
  }
1417
1415
 
1418
1416
  answer = answerValue;