Skip to content

Commit fa2e4fb

Browse files
committed
minor
1 parent 7cea55f commit fa2e4fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/static-webserver/client/source/class/osparc/dashboard/ResourceDetails.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ qx.Class.define("osparc.dashboard.ResourceDetails", {
5757
case "template":
5858
case "tutorial":
5959
case "hypertool":
60-
const mainStore = qx.store.Store.getInstance();
61-
if (mainStore.getStudyDebt(this.__resourceData["uuid"])) {
60+
if (osparc.study.Utils.isInDebt(this.__studyData)) {
61+
const mainStore = qx.store.Store.getInstance();
6262
this.__resourceData["debt"] = mainStore.getStudyDebt(this.__resourceData["uuid"]);
6363
}
6464
osparc.store.Services.getStudyServicesMetadata(latestResourceData)

0 commit comments

Comments
 (0)