FIX: claiming topics for the review queue

This commit is contained in:
Jeff Wong 2020-03-30 15:16:47 -07:00
parent 7817d8b2ff
commit 385c3fe789

View File

@ -22,8 +22,9 @@ export default Component.extend({
return type.dasherize(); return type.dasherize();
}, },
@discourseComputed("reviewable.topic_id", "reviewable.removed_topic_id") @discourseComputed("reviewable.topic", "reviewable.removed_topic_id")
topicId(topicId, removedTopicId) { topicId(topic, removedTopicId) {
let topicId = topic ? topic.id : null;
return topicId || removedTopicId; return topicId || removedTopicId;
}, },