Skip to content

Commit

Permalink
Merge pull request #407 from Kitware/vis-update-fix
Browse files Browse the repository at this point in the history
Remove faulty caching mechanism for updated data requests
  • Loading branch information
Roni Choudhury committed Sep 22, 2016
2 parents 306a405 + 7ea547f commit 15e91c3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/resonant-laboratory/models/Project.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,6 @@ let Project = MetadataItem.extend({
return Object.assign({}, this.getAssignedVisFields(index), visDetails.options || {});
},
shapeDataForVis: function (index = 0) {
if (index in this.cache.visDatasetPromises) {
return this.cache.visDatasetPromises[index];
}

let meta = this.getMeta();
if (meta.datasets.length <= index) {
// The indicated dataset isn't loaded yet...
Expand Down

0 comments on commit 15e91c3

Please sign in to comment.