mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
DEV: observes used properties in reason text (#14389)
This commit is contained in:
parent
5fb45e712f
commit
0dd28cdd95
1 changed files with 4 additions and 1 deletions
|
@ -31,7 +31,10 @@ export default Component.extend({
|
|||
}
|
||||
},
|
||||
|
||||
@discourseComputed("topic", "topic.details")
|
||||
@discourseComputed(
|
||||
"topic",
|
||||
"topic.details.{notification_level,notifications_reason_id}"
|
||||
)
|
||||
notificationReasonText(topic, topicDetails) {
|
||||
let level = topicDetails.notification_level;
|
||||
let reason = topicDetails.notifications_reason_id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue