mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: observes used properties in reason text (#14389)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user