Fix this reference
This commit is contained in:
parent
e2ecfc871d
commit
1ec4b4c6b7
|
@ -251,6 +251,7 @@
|
||||||
passwordModal.show()
|
passwordModal.show()
|
||||||
await fetch.refresh()
|
await fetch.refresh()
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
console.error(error)
|
||||||
notifications.error("Error creating user")
|
notifications.error("Error creating user")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,13 +29,11 @@ class UserStore extends BudiStore<UserState> {
|
||||||
data: [],
|
data: [],
|
||||||
})
|
})
|
||||||
|
|
||||||
this.search = this.search.bind(this)
|
|
||||||
|
|
||||||
// Update quotas after any add or remove operation
|
// Update quotas after any add or remove operation
|
||||||
this.create = this.refreshUsage(this.create)
|
this.create = this.refreshUsage(this.create.bind(this))
|
||||||
this.save = this.refreshUsage(this.save)
|
this.save = this.refreshUsage(this.save.bind(this))
|
||||||
this.delete = this.refreshUsage(this.delete)
|
this.delete = this.refreshUsage(this.delete.bind(this))
|
||||||
this.bulkDelete = this.refreshUsage(this.bulkDelete)
|
this.bulkDelete = this.refreshUsage(this.bulkDelete.bind(this))
|
||||||
}
|
}
|
||||||
|
|
||||||
async search(opts: SearchUsersRequest = {}) {
|
async search(opts: SearchUsersRequest = {}) {
|
||||||
|
|
Loading…
Reference in New Issue