Skip to content

Commit 4a5a814

Browse files
authored
fix undefined error of data response in app.js (#50)
1 parent 194f3e3 commit 4a5a814

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

frontend/src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class SpannerApp {
165165
}
166166

167167
if (data.error) {
168-
this.graph.showErrorStateForNode(node, error);
168+
this.graph.showErrorStateForNode(node, data.error);
169169
return;
170170
}
171171

0 commit comments

Comments
 (0)