Merge pull request #16784 from keymanapp/fix/web/16783_wordbreaksAfterSuggestions

fix(web): don't crash if model isn't fully loaded yet 🏠
This commit is contained in:
Eberhard Beilharz 2026-10-09 17:44:45 +02:00 • committed by GitHub
commit 33d62d221f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -440,7 +440,7 @@ export class LanguageProcessor extends EventEmitter<LanguageProcessorEventMap> {
}
public get wordbreaksAfterSuggestions() {
return this.configuration.wordbreaksAfterSuggestions;
return this.configuration?.wordbreaksAfterSuggestions;
}
public tryAcceptSuggestion(source: string): boolean {