mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-13 03:27:13 +00:00
Fix: fix a minor pdf viewer uncaught error (#12669)
This commit is contained in:
1 parent
14fe520319
commit
2f8f126223
1 file changed
+1
-1
@@ -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