Dont include self in suggested follows

zio/stable
Paul Frazee 2022-11-14 13:42:53 -06:00
parent fb3ca42646
commit e5cb141954
1 changed files with 3 additions and 0 deletions

View File

@ -88,6 +88,9 @@ export class SuggestedActorsViewModel {
this.suggestions.length = 0
let counter = 0
for (const item of res.data.actors) {
if (item.did === this.rootStore.me.did) {
continue // skip self
}
this._append({
_reactKey: `item-${counter++}`,
...item,