@coorpacademy/app-review 0.7.6-alpha.28 → 0.7.6-alpha.29
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/es/views/slides/index.js
CHANGED
|
@@ -79,7 +79,7 @@ const buildStackSlides = (state, dispatch, translate) => {
|
|
|
79
79
|
return set(index, { ...uiSlide, position }, acc);
|
|
80
80
|
const answers = getOr([], ['ui', 'answers', slideRef], state);
|
|
81
81
|
const { questionText, answerUI } = mapApiSlideToUi(dispatch)(slideFromAPI, answers);
|
|
82
|
-
|
|
82
|
+
const { title: parentContentTitle, type: parentContentType } = slideFromAPI.parentContentTitle;
|
|
83
83
|
const isCurrentSlideRef = currentSlideRef === slideRef;
|
|
84
84
|
const slideUI = get(['ui', 'slide', slideRef], state);
|
|
85
85
|
const animateCorrectionPopin = isCurrentSlideRef && slideUI.animateCorrectionPopin;
|
|
@@ -93,8 +93,10 @@ const buildStackSlides = (state, dispatch, translate) => {
|
|
|
93
93
|
loading: false,
|
|
94
94
|
questionText,
|
|
95
95
|
answerUI,
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
parentContentTitle: translate('Content Parent Title', {
|
|
97
|
+
contentTitle: parentContentTitle,
|
|
98
|
+
contentType: parentContentType
|
|
99
|
+
}),
|
|
98
100
|
animationType
|
|
99
101
|
};
|
|
100
102
|
return set(index, updatedUiSlide, acc);
|
|
@@ -85,7 +85,7 @@ const buildStackSlides = (state, dispatch, translate) => {
|
|
|
85
85
|
return (0, set_1.default)(index, { ...uiSlide, position }, acc);
|
|
86
86
|
const answers = (0, getOr_1.default)([], ['ui', 'answers', slideRef], state);
|
|
87
87
|
const { questionText, answerUI } = (0, map_api_slide_to_ui_1.mapApiSlideToUi)(dispatch)(slideFromAPI, answers);
|
|
88
|
-
|
|
88
|
+
const { title: parentContentTitle, type: parentContentType } = slideFromAPI.parentContentTitle;
|
|
89
89
|
const isCurrentSlideRef = currentSlideRef === slideRef;
|
|
90
90
|
const slideUI = (0, get_1.default)(['ui', 'slide', slideRef], state);
|
|
91
91
|
const animateCorrectionPopin = isCurrentSlideRef && slideUI.animateCorrectionPopin;
|
|
@@ -99,8 +99,10 @@ const buildStackSlides = (state, dispatch, translate) => {
|
|
|
99
99
|
loading: false,
|
|
100
100
|
questionText,
|
|
101
101
|
answerUI,
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
parentContentTitle: translate('Content Parent Title', {
|
|
103
|
+
contentTitle: parentContentTitle,
|
|
104
|
+
contentType: parentContentType
|
|
105
|
+
}),
|
|
104
106
|
animationType
|
|
105
107
|
};
|
|
106
108
|
return (0, set_1.default)(index, updatedUiSlide, acc);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/app-review",
|
|
3
|
-
"version": "0.7.6-alpha.
|
|
3
|
+
"version": "0.7.6-alpha.29+3dbf64aa4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.15.0"
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"webpack-cli": "^4.10.0",
|
|
72
72
|
"webpack-dev-server": "^4.11.1"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "3dbf64aa4b76ef3311e0d5f5181f31d102c40e0e"
|
|
75
75
|
}
|