MCPcopy Create free account
hub / github.com/microsoft/SandDance / updateGroup

Method updateGroup

docs/app/js/sanddance-app.js:12619–12628  ·  view source on GitHub ↗
(partialGroup, groupIndex)

Source from the content-addressed store, hash-verified

12617 return group;
12618 }
12619 updateGroup(partialGroup, groupIndex) {
12620 const groups = [
12621 ...this.state.groups
12622 ];
12623 const group = Object.assign(Object.assign({}, groups[groupIndex]), partialGroup);
12624 groups[groupIndex] = group;
12625 this.setState({
12626 groups
12627 });
12628 }
12629 addGroup() {
12630 const groups = [
12631 ...this.state.groups

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected