Fix scope of callback
This may have led to the room list not refreshing on error of deleting alias
This commit is contained in:
parent
9f3c1deae6
commit
d5009962cd
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ module.exports = React.createClass({
|
||||||
}).done(() => {
|
}).done(() => {
|
||||||
modal.close();
|
modal.close();
|
||||||
this.refreshRoomList();
|
this.refreshRoomList();
|
||||||
}, function(err) {
|
}, (err) => {
|
||||||
modal.close();
|
modal.close();
|
||||||
this.refreshRoomList();
|
this.refreshRoomList();
|
||||||
console.error("Failed to " + step + ": " + err);
|
console.error("Failed to " + step + ": " + err);
|
||||||
|
|
Loading…
Add table
Reference in a new issue