Skip to content

Commit b6cf15a

Browse files
committed
init just some resources
1 parent 20644ef commit b6cf15a

File tree

1 file changed

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

1 file changed

+3
-11
lines changed

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

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -202,17 +202,9 @@ qx.Class.define("osparc.dashboard.Dashboard", {
202202
preResourcePromises.push(osparc.store.Services.getServicesLatest(false));
203203
Promise.all(preResourcePromises)
204204
.then(() => {
205-
[
206-
this.__studyBrowser,
207-
this.__templateBrowser,
208-
this.__hypertoolBrowser,
209-
this.__serviceBrowser,
210-
this.__dataBrowser
211-
].forEach(resourceBrowser => {
212-
if (resourceBrowser) {
213-
resourceBrowser.initResources();
214-
}
215-
});
205+
this.__studyBrowser.initResources();
206+
this.__serviceBrowser.initResources();
207+
this.__dataBrowser.initResources();
216208
})
217209
.catch(err => console.error(err));
218210
},

0 commit comments

Comments
 (0)