mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 07:43:43 +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();
|
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;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user