chore: update deps (#14755)

This commit is contained in:
Daniel Dietzler
2024-12-18 15:19:48 +01:00
committed by GitHub
parent a03f4f5610
commit 6a855f6331
38 changed files with 4610 additions and 14215 deletions

View File

@@ -64,10 +64,7 @@
for (const candidate of sharedWith) {
const existIndex = partners.findIndex((p) => candidate.id === p.user.id);
if (existIndex >= 0) {
partners[existIndex].sharedWithMe = true;
partners[existIndex].inTimeline = candidate.inTimeline ?? false;
} else {
if (existIndex === -1) {
partners = [
...partners,
{
@@ -77,6 +74,9 @@
inTimeline: candidate.inTimeline ?? false,
},
];
} else {
partners[existIndex].sharedWithMe = true;
partners[existIndex].inTimeline = candidate.inTimeline ?? false;
}
}
};