fix: Properly remove non matched workspaces (#2649)

This commit is contained in:
Steven Masley
2022-06-25 16:37:21 -05:00
committed by GitHub
parent 3312c814bd
commit 47796211d7

View File

@ -307,7 +307,7 @@ export const workspacesMachine = createMachine(
}
// Remove ref from the array
workspaceRefs = workspaceRefs.filter((oldRef) => oldRef.id === ref.id)
workspaceRefs = workspaceRefs.filter((oldRef) => oldRef.id !== ref.id)
}
}