Skip to content

Commit

Permalink
fix(Graph Authoring): Connected component does not repopulate values (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreykwan authored Aug 22, 2024
1 parent 6d8823b commit c1ddb3e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class SelectComponentComponent {
if (numAllowedComponents === 1) {
this.componentId = allowedComponent.id;
this.componentChanged();
} else {
} else if (!this.components.map((component) => component.id).includes(this.componentId)) {
this.componentId = null;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export class EditGraphConnectedComponentsComponent extends EditConnectedComponen
connectedComponent.xColumn = 0;
connectedComponent.yColumn = 1;
}
connectedComponent.type = 'importWork';
}

connectedComponentShowClassmateWorkChanged(connectedComponent: any) {
Expand Down

0 comments on commit c1ddb3e

Please sign in to comment.