0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-12 05:37:26 +08:00
discourse/frontend
David Taylor 62a5798b78
FIX: Prevent error when a reviewable claim is broadcast for a topicless reviewable (#41418)
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.
2026-07-03 13:10:23 +01:00
..
asset-processor FIX: Stop asset-processor build from loading tsconfig (#41415) 2026-07-03 10:30:13 +01:00
deprecation-silencer DEV: Remove (again) the old non-rollup plugin compiler (#39419) 2026-04-21 21:07:46 +02:00
discourse FIX: Prevent error when a reviewable claim is broadcast for a topicless reviewable (#41418) 2026-07-03 13:10:23 +01:00
discourse-i18n FIX: Don't treat empty translations as missing for locale fallback (#41299) 2026-06-30 16:56:04 -04:00
discourse-markdown-it DEV: Bump eslint/lint-configs, and correct violations (#41321) 2026-07-01 10:39:57 +01:00
discourse-types
pretty-text DEV: Replace JS build system with Rolldown (#35963) 2026-05-29 11:11:55 +01:00
.npmrc
polyfills.js