mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 02:32:45 +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() {
|
get categoryName() {
|
||||||
return this.categorySelected && isPresent(this.name)
|
return this.categorySelected ? escapeExpression(this.category?.name) : null;
|
||||||
? escapeExpression(this.name)
|
|
||||||
: null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
|
Loading…
Reference in New Issue
Block a user