@product7/feedback-sdk 1.4.9 → 1.5.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.
package/dist/feedback-sdk.js
CHANGED
|
@@ -3499,7 +3499,10 @@
|
|
|
3499
3499
|
}
|
|
3500
3500
|
|
|
3501
3501
|
_getMessageAttachmentsSignature(message) {
|
|
3502
|
-
if (
|
|
3502
|
+
if (
|
|
3503
|
+
!Array.isArray(message?.attachments) ||
|
|
3504
|
+
message.attachments.length === 0
|
|
3505
|
+
) {
|
|
3503
3506
|
return '';
|
|
3504
3507
|
}
|
|
3505
3508
|
|
|
@@ -4402,7 +4405,7 @@
|
|
|
4402
4405
|
|
|
4403
4406
|
<div class="messenger-chat-compose">
|
|
4404
4407
|
<button class="sdk-btn-icon messenger-compose-attach" aria-label="Attach file">
|
|
4405
|
-
<
|
|
4408
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="16" height="16" fill="none"/><path d="M160,80,76.69,164.69a16,16,0,0,0,22.63,22.62L198.63,86.63a32,32,0,0,0-45.26-45.26L54.06,142.06a48,48,0,0,0,67.88,67.88L204,128" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>
|
|
4406
4409
|
</button>
|
|
4407
4410
|
<div class="messenger-compose-input-wrapper">
|
|
4408
4411
|
<textarea class="messenger-compose-input" placeholder="${placeholder}" rows="1"></textarea>
|