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…
Reference in New Issue