From 594993e7674ff3019c7d11fac1c22a10a4c28fe3 Mon Sep 17 00:00:00 2001 From: Bruce Tian Date: Mon, 19 Aug 2024 14:45:26 -0700 Subject: [PATCH] fix(orgAdmins): archived teams should be removed from the OrgTeams view --- packages/client/mutations/ArchiveTeamMutation.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client/mutations/ArchiveTeamMutation.ts b/packages/client/mutations/ArchiveTeamMutation.ts index c06eae11d37..f30b867733f 100644 --- a/packages/client/mutations/ArchiveTeamMutation.ts +++ b/packages/client/mutations/ArchiveTeamMutation.ts @@ -106,6 +106,7 @@ export const archiveTeamTeamUpdater: SharedUpdater { safeRemoveNodeFromArray(teamId, org, 'teams') + safeRemoveNodeFromArray(teamId, org, 'allTeams') }) const notification = payload.getLinkedRecord('notification')