mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 15:43:16 +08:00
FIX: Correct category name for auto_join_users_info in chat (#25739)
This commit is contained in:
parent
a64f558f32
commit
a03b9f1602
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user