@chat21/chat21-web-widget 5.0.82-rc.3 → 5.0.82-rc.4

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/CHANGELOG.md CHANGED
@@ -6,6 +6,9 @@
6
6
  ### **Copyrigth**:
7
7
  *Tiledesk SRL*
8
8
 
9
+ # 5.0.82-rc.4
10
+ - **bug-fixed**: action buttons inside gallery not works
11
+
9
12
  # 5.0.82-rc.3
10
13
  - **changed**: close icon into home and conversation-detail components
11
14
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chat21/chat21-web-widget",
3
3
  "author": "Tiledesk SRL",
4
- "version": "5.0.82-rc.3",
4
+ "version": "5.0.82-rc.4",
5
5
  "license": "MIT",
6
6
  "homepage": "https://www.tiledesk.com",
7
7
  "repository": {
@@ -22,7 +22,7 @@
22
22
  <div class="buttons" *ngIf="card?.buttons && card?.buttons.length > 0">
23
23
  <div *ngFor="let button of card?.buttons"
24
24
  class="single-button action"
25
- [ngClass]="{'disabled': (isConversationArchived || button.type !== TYPE_BUTTON.URL), 'active': button?.active}"
25
+ [ngClass]="{'disabled': (isConversationArchived || (!isLastMessage && button.type !== TYPE_BUTTON.URL)), 'active': button?.active}"
26
26
  (click)="actionButtonClick($event, button, i)" >
27
27
  {{button.value}}
28
28
  </div>