Skip to content

Commit

Permalink
bug-fixed: action buttons inside gallery not works
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Oct 2, 2024
1 parent f6944fd commit 85fc9eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/component/message/carousel/carousel.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div class="buttons" *ngIf="card?.buttons && card?.buttons.length > 0">
<div *ngFor="let button of card?.buttons"
class="single-button action"
[ngClass]="{'disabled': (isConversationArchived || button.type !== TYPE_BUTTON.URL), 'active': button?.active}"
[ngClass]="{'disabled': (isConversationArchived || (!isLastMessage && button.type !== TYPE_BUTTON.URL)), 'active': button?.active}"
(click)="actionButtonClick($event, button, i)" >
{{button.value}}
</div>
Expand Down

0 comments on commit 85fc9eb

Please sign in to comment.