mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Don't re-render if you find composer messages after destroying
This commit is contained in:
parent
b93f491035
commit
a77ede05e2
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ export default Ember.Component.extend({
|
|||
|
||||
const queuedForTyping = this.get('queuedForTyping');
|
||||
composer.store.find('composer-message', args).then(messages => {
|
||||
if (this.isDestroying || this.isDestroyed) { return; }
|
||||
|
||||
// Checking composer messages on replies can give us a list of links to check for
|
||||
// duplicates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue