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) => {
|
promise.then((result) => {
|
||||||
if (result?.topic_ids) {
|
if (result?.topic_ids) {
|
||||||
if (options.private_message_inbox) {
|
if (options?.private_message_inbox) {
|
||||||
this.pmTopicTrackingState.removeTopics(result.topic_ids);
|
this.pmTopicTrackingState.removeTopics(result.topic_ids);
|
||||||
} else {
|
} else {
|
||||||
this.topicTrackingState.removeTopics(result.topic_ids);
|
this.topicTrackingState.removeTopics(result.topic_ids);
|
||||||
|
|
Loading…
Reference in New Issue