mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-05 22:03:50 +03:00
Merge pull request #3679 from urbit/mp/groups/destroy-all-remnants
groups: remove remnant groups from recent
This commit is contained in:
commit
e2b1134e58
@ -43,7 +43,9 @@ function RecentGroups(props: { recent: string[]; associations: Associations }) {
|
|||||||
<Box fontSize={0} px={1} py={2} color="gray">
|
<Box fontSize={0} px={1} py={2} color="gray">
|
||||||
Recent Groups
|
Recent Groups
|
||||||
</Box>
|
</Box>
|
||||||
{props.recent.slice(1, 5).map((g) => {
|
{props.recent.filter((e) => {
|
||||||
|
return (e in associations?.contacts);
|
||||||
|
}).slice(1, 5).map((g) => {
|
||||||
const assoc = associations.contacts[g];
|
const assoc = associations.contacts[g];
|
||||||
const color = uxToHex(assoc?.metadata?.color || "0x0");
|
const color = uxToHex(assoc?.metadata?.color || "0x0");
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user