Skip to content

Commit fefc7d9

Browse files
committed
minor
1 parent f2f5a19 commit fefc7d9

File tree

1 file changed

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

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
269269

270270
this._loadingResourcesBtn.setFetching(true);
271271
this._loadingResourcesBtn.setVisibility("visible");
272+
this._resourcesContainer.getNoResourcesFoundLabel().setVisibility("excluded");
272273
return this.__getNextStudiesRequest()
273274
.then(resp => {
274275
// Context might have been changed while waiting for the response.
@@ -431,6 +432,11 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
431432
this.__configureStudyCards(cards);
432433

433434
osparc.filter.UIFilterController.dispatch("searchBarFilter");
435+
436+
this._resourcesContainer.getNoResourcesFoundLabel().set({
437+
value: this.tr("No Tutorials found"),
438+
visibility: cards.length === 0 ? "visible" : "excluded",
439+
});
434440
},
435441

436442
// WORKSPACES

0 commit comments

Comments
 (0)