DEV: Add topicNotificationLevel fn to post model (#24723)

This commit is contained in:
Mark VanLandingham 2023-12-05 12:08:29 -06:00 committed by GitHub
parent a5fc8f3253
commit d4c02d738b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -392,6 +392,10 @@ const Post = RestModel.extend({
type: "PUT",
});
},
get topicNotificationLevel() {
return this.topic.details.notification_level;
},
});
Post.reopenClass({