Skip to content

Commit

Permalink
fix #7205 srCache no longer caches error frames
Browse files Browse the repository at this point in the history
  • Loading branch information
moellep committed Aug 15, 2024
1 parent 9e60ffd commit 5db8873
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sirepo/package_data/static/js/sirepo.js
Original file line number Diff line number Diff line change
Expand Up @@ -1675,6 +1675,9 @@ SIREPO.app.factory('srCache', function(appState, $rootScope) {
};

self.saveFrame = (frameId, modelName, data) => {
if (data.error) {
return;
}
withObjectStore('readwrite', (o) => {
data._srcache_updateTime = new Date().getTime();
data._srcache_modelName = modelName;
Expand Down

0 comments on commit 5db8873

Please sign in to comment.