@product7/feedback-sdk 1.7.1 → 1.7.2
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
|
@@ -7244,7 +7244,7 @@
|
|
|
7244
7244
|
<button class="feedback-survey-close"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><line x1="200" y1="56" x2="56" y2="200" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="200" y1="200" x2="56" y2="56" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg></button>
|
|
7245
7245
|
${showTitle ? `<h3 class="feedback-survey-title">${config.title}</h3>` : ''}
|
|
7246
7246
|
${showDescription ? `<p class="feedback-survey-description">${config.description}</p>` : ''}
|
|
7247
|
-
${isMultiPage ? `<div class="feedback-survey-progress">${pageProgress}</div>` : ''}
|
|
7247
|
+
${isMultiPage && this.surveyOptions.pages.length > 1 ? `<div class="feedback-survey-progress">${pageProgress}</div>` : ''}
|
|
7248
7248
|
<div class="feedback-survey-content">${config.html}</div>
|
|
7249
7249
|
${
|
|
7250
7250
|
showFeedbackInput
|
|
@@ -7453,6 +7453,10 @@
|
|
|
7453
7453
|
|
|
7454
7454
|
_shouldShowActions() {
|
|
7455
7455
|
if (this._isMultiPageSurvey()) {
|
|
7456
|
+
const page = this._getCurrentPage();
|
|
7457
|
+
if (page && page.type === 'link') {
|
|
7458
|
+
return false;
|
|
7459
|
+
}
|
|
7456
7460
|
return true;
|
|
7457
7461
|
}
|
|
7458
7462
|
if (typeof this.surveyOptions.showSubmitButton === 'boolean') {
|