mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-06-24 06:14:19 +00:00
Fix: fix a minor pdf viewer uncaught error (#12669)
This commit is contained in:
@@ -272,7 +272,7 @@ export class PngxPdfViewerComponent
|
||||
if (!this.hasRenderedPage) {
|
||||
return
|
||||
}
|
||||
const query = this.searchQuery.trim()
|
||||
const query = this.searchQuery?.trim()
|
||||
if (query === this.lastFindQuery) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user