mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
Merge pull request #3368 from tylershuster/dm-dedupe
interface: deduplicate InviteSearch results
This commit is contained in:
commit
f421d5c453
@ -395,7 +395,7 @@ export class InviteSearch extends Component<
|
||||
);
|
||||
});
|
||||
|
||||
const shipResults = state.searchResults.ships.map((ship) => {
|
||||
const shipResults = Array.from(new Set(state.searchResults.ships)).map((ship) => {
|
||||
const nicknames = (this.state.contacts.get(ship) || [])
|
||||
.filter((e) => {
|
||||
return !(e === '');
|
||||
|
Loading…
Reference in New Issue
Block a user