Skip to content

Commit

Permalink
fix(Node Authoring): reset editingComponentId to null on initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokiterashima committed Dec 16, 2024
1 parent 83df929 commit 05bba50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export class NodeAuthoringComponent implements OnInit {
this.isGroupNode = this.projectService.isGroupNode(this.nodeId);
this.nodeJson = this.projectService.getNodeById(this.nodeId);
this.components = this.projectService.getComponents(this.nodeId);
this.editingComponentId = null;

if (history.state.newComponents && history.state.newComponents.length > 0) {
this.highlightComponents(history.state.newComponents);
Expand Down
2 changes: 1 addition & 1 deletion src/messages.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -12063,7 +12063,7 @@ The branches will be removed but the steps will remain in the unit.</source>
<x id="PH" equiv-text="componentNumber"/>. <x id="PH_1" equiv-text="component.type"/></source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/node/node-authoring/node-authoring.component.ts</context>
<context context-type="linenumber">131</context>
<context context-type="linenumber">132</context>
</context-group>
</trans-unit>
<trans-unit id="bb39841df2c03f771748c1f986e615bffa7f2593" datatype="html">
Expand Down

0 comments on commit 05bba50

Please sign in to comment.