Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 7a58b86

Browse files
BoykoAlexoodamien
authored andcommitted
Adopt Flo 0.7.5 fixes
1 parent 8e87245 commit 7a58b86

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"web-animations-js": "2.3.1",
4747
"stompjs": "2.3.3",
4848
"jshint": "2.9.5",
49-
"spring-flo": "0.7.4",
49+
"spring-flo": "0.7.5",
5050
"ng-busy": "1.4.4"
5151
},
5252
"devDependencies": {

ui/src/app/streams/components/flo/text-to-graph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ class TextToGraphConverter {
409409
public convert() {
410410
const jsonGraph = TextToGraphConverter.parseToJsonGraph(this.dsl);
411411
if (jsonGraph && jsonGraph.nodes) {
412-
this.floEditorContext.clearGraph();
412+
this.floEditorContext.getGraph().clear();
413413
this.buildFloGraphFromJsonGraph(jsonGraph);
414414
}
415415
}

ui/src/app/streams/stream-create/stream-create.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ export class StreamCreateComponent implements OnInit, OnDestroy {
127127
bsModalRef.content.setDsl(this.dsl);
128128
bsModalRef.content.successCallback = () => {
129129
this.editorContext.clearGraph();
130-
// At this moment graph <-> dsl syncing is off because neither DSL editor nor graph editor has focus on
131-
// Therefore, kick off the text update manually.
132-
this.editorContext.updateText();
133130
};
134131
}
135132

0 commit comments

Comments
 (0)