FIX: Correct category name for auto_join_users_info in chat (#25739)

This commit is contained in:
Jan Cernik 2024-02-19 06:51:11 -03:00 committed by GitHub
parent a64f558f32
commit a03b9f1602
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,9 +57,7 @@ export default class ChatModalCreateChannel extends Component {
}
get categoryName() {
return this.categorySelected && isPresent(this.name)
? escapeExpression(this.name)
: null;
return this.categorySelected ? escapeExpression(this.category?.name) : null;
}
@action