#477 Use Text Extractor as a fallback to AI Image Analyzer

This commit is contained in:
Simon Cambier
2025-09-03 16:49:13 +02:00
parent 7462e32b27
commit 0a57b7bc6a
3 changed files with 14 additions and 19 deletions

View File

@@ -218,7 +218,7 @@ export default class OmnisearchPlugin extends Plugin {
* @returns
*/
public getChsSegmenter(): any | undefined {
return (this.app as any).plugins.plugins['cm-chs-patch']
return (this.app as any).plugins?.plugins?.['cm-chs-patch']
}
/**