mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-06 09:46:50 +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(() => {
|
$effect(() => {
|
||||||
if (open && isPdf && pdfViewMode === 'pages') {
|
if (open && isPdf && pdfViewMode === 'pages') {
|
||||||
loadPdfImages();
|
loadPdfImages();
|
||||||
|
|||||||
Reference in New Issue
Block a user