Skip to content

Commit 0a85611

Browse files
EtronieDENGpansgg
authored andcommitted
UI: fix bug of saving
1 parent d1657fb commit 0a85611

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/pages/main/main.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ ECHO Port '+ this.portAddress + '>>"%HOMEDRIVE%%HOMEPATH%\\.ssh\\config"\r\n\
14461446
//if user is modifying the graph
14471447
setTimeout(() => {
14481448
if (isModifying === "1") {
1449-
this.toolBar.isModifyingDecorater(this.handleRun, graphName, this);
1449+
this.toolBar.isModifyingDecorater(this.handleRun, graphName, this.toolBar);
14501450
} else {
14511451
this.handleRun(graphName);
14521452
}
@@ -1569,7 +1569,7 @@ ECHO Port '+ this.portAddress + '>>"%HOMEDRIVE%%HOMEPATH%\\.ssh\\config"\r\n\
15691569
//if user is modifying the graph
15701570
setTimeout(() => {
15711571
if (isModifying === "1") {
1572-
this.toolBar.isModifyingDecorater(this.handleRestart, graphName, this);
1572+
this.toolBar.isModifyingDecorater(this.handleRestart, graphName, this.toolBar);
15731573
} else {
15741574
this.handleRestart(graphName);
15751575
}

0 commit comments

Comments
 (0)