Skip to content

Commit

Permalink
reset points if dict is successfully parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
James Bradbury committed Nov 15, 2021
1 parent 9070d16 commit 7e0ea29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jsui/fluid.plotter.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ function setdict(name) {
fail = true;
}
if (!fail) {
points = {};
var rawData = JSON.parse(dataDict.stringify()).data;
Object.keys(rawData).forEach(function(pt) {
points[pt] = {
Expand Down

0 comments on commit 7e0ea29

Please sign in to comment.