Make sure "this" is available
This commit is contained in:
parent
1f00c6f311
commit
d2966ade6a
1 changed files with 1 additions and 1 deletions
|
|
@ -496,7 +496,7 @@ export default {
|
|||
this.$matrix.matrixClient,
|
||||
room_id,
|
||||
this.roomAvatarFile,
|
||||
function (p) {
|
||||
(p) => {
|
||||
if (p.total) {
|
||||
self.status = this.$t("new_room.status_avatar_total", {
|
||||
count: p.loaded || 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue