mirror of
https://github.com/discourse/discourse.git
synced 2026-08-12 05:37:26 +08:00
Previously, claiming a topic in the review queue threw `Cannot read properties of null (reading 'id')` in every `ReviewableItem` whose reviewable had no associated topic (e.g. `ReviewableUser` or a queued new topic), because `_updateClaimedBy` dereferenced `this.reviewable.topic.id` on the `/reviewable_claimed` broadcast. This change compares against the existing `topicId` getter, which safely resolves the topic id and lets topicless reviewables ignore the broadcast instead of erroring. |
||
|---|---|---|
| .. | ||
| asset-processor | ||
| deprecation-silencer | ||
| discourse | ||
| discourse-i18n | ||
| discourse-markdown-it | ||
| discourse-types | ||
| pretty-text | ||
| .npmrc | ||
| polyfills.js | ||