Dont suggest followed users and add empty state to suggestions
This commit is contained in:
parent
e5cb141954
commit
75f801ed71
2 changed files with 18 additions and 0 deletions
|
@ -91,6 +91,9 @@ export class SuggestedActorsViewModel {
|
|||
if (item.did === this.rootStore.me.did) {
|
||||
continue // skip self
|
||||
}
|
||||
if (item.myState?.follow) {
|
||||
continue // skip already-followed users
|
||||
}
|
||||
this._append({
|
||||
_reactKey: `item-${counter++}`,
|
||||
...item,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue