A platform for community discussion. Free, open, simple.
FIX: check for `options` in dismissRead (#26065)
Kris6f5356669e57
diff --git a/app/assets/javascripts/discourse/app/lib/bulk-select-helper.js b/app/assets/javascripts/discourse/app/lib/bulk-select-helper.jsindex 8deb7d8a289..75558fdec5b 100644--- a/app/assets/javascripts/discourse/app/lib/bulk-select-helper.js+++ b/app/assets/javascripts/discourse/app/lib/bulk-select-helper.js@@ -54,7 +54,7 @@ export default class BulkSelectHelper {promise.then((result) => {if (result?.topic_ids) {- if (options.private_message_inbox) {+ if (options?.private_message_inbox) {this.pmTopicTrackingState.removeTopics(result.topic_ids);} else {this.topicTrackingState.removeTopics(result.topic_ids);