Skip to content

Commit ebf8d67

Browse files
committed
minor
1 parent c8a1c1c commit ebf8d67

File tree

1 file changed

+3
-3
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,9 +1517,9 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
15171517
if (idx > -1) {
15181518
this._resourcesList[idx]["state"] = state;
15191519
}
1520-
const studyItem = this._resourcesContainer.getCards().find(card => osparc.dashboard.ResourceBrowserBase.isCardButtonItem(card) && card.getUuid() === studyId);
1521-
if (studyItem) {
1522-
studyItem.setState(state);
1520+
const studyCard = this._resourcesContainer.getCards().find(card => osparc.dashboard.ResourceBrowserBase.isCardButtonItem(card) && card.getUuid() === studyId);
1521+
if (studyCard) {
1522+
studyCard.setState(state);
15231523
}
15241524
},
15251525

0 commit comments

Comments
 (0)