ListAddUser modal UX improvements (#1809)
* typo * Add loading state to ListAddUser * Improve UI/UX of ListAddUser
This commit is contained in:
parent
4de852ded8
commit
ebad6d2b1a
3 changed files with 27 additions and 20 deletions
|
@ -48,6 +48,7 @@ export class UserAutocompleteModel {
|
|||
// =
|
||||
|
||||
async setup() {
|
||||
this.isLoading = true
|
||||
await this.rootStore.me.follows.syncIfNeeded()
|
||||
runInAction(() => {
|
||||
for (const did in this.rootStore.me.follows.byDid) {
|
||||
|
@ -56,6 +57,7 @@ export class UserAutocompleteModel {
|
|||
this.knownHandles.add(info.handle)
|
||||
}
|
||||
}
|
||||
this.isLoading = false
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue