Skip to content

Commit 7b4cebd

Browse files
Merge pull request #287 from khanhlvg:feat/fix_base64_error
PiperOrigin-RevId: 836296975
2 parents 93967cf + 57b110b commit 7b4cebd

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)