mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
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
@ -204,7 +204,7 @@ module.exports = React.createClass({
|
||||
}).done(() => {
|
||||
modal.close();
|
||||
this.refreshRoomList();
|
||||
}, function(err) {
|
||||
}, (err) => {
|
||||
modal.close();
|
||||
this.refreshRoomList();
|
||||
console.error("Failed to " + step + ": " + err);
|
||||
|
Loading…
Reference in New Issue
Block a user