Skip to content

Commit 57b110b

Browse files
committed
bugfix: fixed 'Could not open the data' error
1 parent 27186d0 commit 57b110b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/components/chat/chat.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,9 @@ export class ChatComponent implements OnInit, AfterViewInit, OnDestroy {
241241
nonNullable: true,
242242
});
243243

244-
protected openBase64InNewTab = this.safeValuesService.openBase64InNewTab;
244+
protected openBase64InNewTab(data: string, mimeType: string) {
245+
this.safeValuesService.openBase64InNewTab(data, mimeType);
246+
}
245247

246248
// Load apps
247249
protected isLoadingApps: WritableSignal<boolean> = signal(false);

0 commit comments

Comments
 (0)