mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
fix: Properly remove non matched workspaces (#2649)
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user