@product7/feedback-sdk 1.7.8 → 1.7.9
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
package/src/core/FeedbackSDK.js
CHANGED
|
@@ -410,10 +410,12 @@ export class FeedbackSDK {
|
|
|
410
410
|
return 'nps';
|
|
411
411
|
}
|
|
412
412
|
|
|
413
|
+
const lowLabel = (ratingConfig.low_label || '').toLowerCase();
|
|
413
414
|
if (
|
|
414
|
-
surveyType === '
|
|
415
|
+
surveyType === 'ces' ||
|
|
415
416
|
title.includes('effort') ||
|
|
416
|
-
title.includes('easy')
|
|
417
|
+
title.includes('easy') ||
|
|
418
|
+
lowLabel.includes('difficult')
|
|
417
419
|
) {
|
|
418
420
|
return 'ces';
|
|
419
421
|
}
|