feat: improve clear logic
This commit is contained in:
1 parent
cc00f2cb2d
commit
84dd82aa96
1 file changed
+1
-3
@@ -122,9 +122,7 @@ export class WorkspaceUnitCollection {
|
||||
};
|
||||
|
||||
const clear = () => {
|
||||
scopedWorkspaceIds.forEach(id => {
|
||||
remove(id);
|
||||
});
|
||||
remove(Array.from(scopedWorkspaceIds));
|
||||
};
|
||||
|
||||
const update = (workspaceId: string, meta: UpdateWorkspaceUnitParams) => {
|
||||
|
||||
Reference in new issue
Block a user