mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 22:27:19 +08:00
DEV: Rename variable to avoid conflict
This commit is contained in:
@ -154,11 +154,12 @@ export default class {
|
||||
}
|
||||
})
|
||||
.then(() => {
|
||||
if (controller) {
|
||||
const topicController = this._topicController;
|
||||
if (topicController) {
|
||||
const postNumbers = Object.keys(newTimings).map(v =>
|
||||
parseInt(v, 10)
|
||||
);
|
||||
controller.readPosts(topicId, postNumbers);
|
||||
topicController.readPosts(topicId, postNumbers);
|
||||
}
|
||||
})
|
||||
.catch(e => {
|
||||
|
Reference in New Issue
Block a user