feat: improve clear logic
This commit is contained in:
@@ -122,9 +122,7 @@ export class WorkspaceUnitCollection {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const clear = () => {
|
const clear = () => {
|
||||||
scopedWorkspaceIds.forEach(id => {
|
remove(Array.from(scopedWorkspaceIds));
|
||||||
remove(id);
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const update = (workspaceId: string, meta: UpdateWorkspaceUnitParams) => {
|
const update = (workspaceId: string, meta: UpdateWorkspaceUnitParams) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user