FIX: Check for textarea presence (#27457)

This mirrors `ChatThreadComposer.blur`

Co-authored-by: Leonardo Mosquera <ldmosquera@gmail.com>
This commit is contained in:
Jarek Radosz 2024-06-12 23:37:19 +02:00 committed by GitHub
parent b0e4b906ad
commit 9f681ad65e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ export default class ChatChannelComposer extends Service {
@action
blur() {
this.textarea.blur();
this.textarea?.blur();
}
@action