Fix: fix a minor pdf viewer uncaught error (#12669)

This commit is contained in:
shamoon authored and GitHub committed 2026-04-28 09:47:20 -07:00
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
}