diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts index bf9fc360..f716e39d 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts @@ -806,6 +806,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { previewInfo: res, translationType: eventType }; + this.changeDetectorRef.detectChanges(); } else { // direct send this.store.dispatch( diff --git a/projects/ucap-webmessenger-ui/src/lib/components/translation-section.component.html b/projects/ucap-webmessenger-ui/src/lib/components/translation-section.component.html index 7865b1e6..5048bf0d 100644 --- a/projects/ucap-webmessenger-ui/src/lib/components/translation-section.component.html +++ b/projects/ucap-webmessenger-ui/src/lib/components/translation-section.component.html @@ -16,7 +16,6 @@ class="btn-translation-send bg-accent-color" (click)="onClickSendTranslationMessage(translationPreviewInfo)" > - - -