@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/dist/feedback-sdk.js
CHANGED
|
@@ -8898,10 +8898,12 @@
|
|
|
8898
8898
|
return 'nps';
|
|
8899
8899
|
}
|
|
8900
8900
|
|
|
8901
|
+
const lowLabel = (ratingConfig.low_label || '').toLowerCase();
|
|
8901
8902
|
if (
|
|
8902
|
-
surveyType === '
|
|
8903
|
+
surveyType === 'ces' ||
|
|
8903
8904
|
title.includes('effort') ||
|
|
8904
|
-
title.includes('easy')
|
|
8905
|
+
title.includes('easy') ||
|
|
8906
|
+
lowLabel.includes('difficult')
|
|
8905
8907
|
) {
|
|
8906
8908
|
return 'ces';
|
|
8907
8909
|
}
|