mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: check for options
in dismissRead (#26065)
This commit is contained in:
parent
819bc63c47
commit
6f5356669e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user