MCPcopy Create free account
hub / github.com/DTStack/molecule / updateCurrentGroup

Method updateCurrentGroup

src/services/workbench/editorService.ts:633–637  ·  view source on GitHub ↗
(currentValues: Partial<IEditorGroup>)

Source from the content-addressed store, hash-verified

631 }
632
633 public updateCurrentGroup(currentValues: Partial<IEditorGroup>) {
634 const { current } = this.state;
635 const nextGroup = Object.assign({}, current, currentValues);
636 this.setState({ current: nextGroup });
637 }
638
639 /**
640 * @param groupId If provided, will open tab in specific group

Callers 1

updateTabMethod · 0.95

Calls 1

setStateMethod · 0.80

Tested by

no test coverage detected