mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 05:23:42 +08:00
FIX: claiming topics for the review queue
This commit is contained in:
parent
7817d8b2ff
commit
385c3fe789
|
@ -22,8 +22,9 @@ export default Component.extend({
|
|||
return type.dasherize();
|
||||
},
|
||||
|
||||
@discourseComputed("reviewable.topic_id", "reviewable.removed_topic_id")
|
||||
topicId(topicId, removedTopicId) {
|
||||
@discourseComputed("reviewable.topic", "reviewable.removed_topic_id")
|
||||
topicId(topic, removedTopicId) {
|
||||
let topicId = topic ? topic.id : null;
|
||||
return topicId || removedTopicId;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user