mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-05 09:36:52 +00:00
fix: Viewing multiple PDF attachments (#16974)
This commit is contained in:
committed by
GitHub
parent
ed8aa63320
commit
e7da30b584
Binary file not shown.
@@ -134,6 +134,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
$effect(() => {
|
||||
if (open) {
|
||||
pdfImages = [];
|
||||
pdfImagesLoading = false;
|
||||
pdfImagesError = null;
|
||||
pdfViewMode = 'pages';
|
||||
}
|
||||
});
|
||||
|
||||
$effect(() => {
|
||||
if (open && isPdf && pdfViewMode === 'pages') {
|
||||
loadPdfImages();
|
||||
|
||||
Reference in New Issue
Block a user