Skip to content

Commit d5315f9

Browse files
committed
[skip ci] check cache's history
1 parent 68e8d04 commit d5315f9

File tree

1 file changed

+5
-1
lines changed
  • services/static-webserver/client/source/class/osparc/store

1 file changed

+5
-1
lines changed

services/static-webserver/client/source/class/osparc/store/Services.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,11 @@ qx.Class.define("osparc.store.Services", {
123123

124124
getService: function(key, version, useCache = true) {
125125
return new Promise(resolve => {
126-
if (useCache && this.__isInCache(key, version)) {
126+
if (
127+
useCache &&
128+
this.__isInCache(key, version) &&
129+
"history" in this.__servicesCached[key][version]
130+
) {
127131
resolve(this.__servicesCached[key][version]);
128132
return;
129133
}

0 commit comments

Comments
 (0)