Dont include self in suggested follows
parent
fb3ca42646
commit
e5cb141954
|
@ -88,6 +88,9 @@ export class SuggestedActorsViewModel {
|
||||||
this.suggestions.length = 0
|
this.suggestions.length = 0
|
||||||
let counter = 0
|
let counter = 0
|
||||||
for (const item of res.data.actors) {
|
for (const item of res.data.actors) {
|
||||||
|
if (item.did === this.rootStore.me.did) {
|
||||||
|
continue // skip self
|
||||||
|
}
|
||||||
this._append({
|
this._append({
|
||||||
_reactKey: `item-${counter++}`,
|
_reactKey: `item-${counter++}`,
|
||||||
...item,
|
...item,
|
||||||
|
|
Loading…
Reference in New Issue