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