mirror of
https://github.com/discourse/discourse.git
synced 2025-05-20 07:33:57 +08:00
DEV: Add topicNotificationLevel fn to post model (#24723)
This commit is contained in:
parent
a5fc8f3253
commit
d4c02d738b
@ -392,6 +392,10 @@ const Post = RestModel.extend({
|
||||
type: "PUT",
|
||||
});
|
||||
},
|
||||
|
||||
get topicNotificationLevel() {
|
||||
return this.topic.details.notification_level;
|
||||
},
|
||||
});
|
||||
|
||||
Post.reopenClass({
|
||||
|
Loading…
x
Reference in New Issue
Block a user