Skip to content

Commit d81494e

Browse files
committed
minor
1 parent 74b2e03 commit d81494e

File tree

1 file changed

+2
-6
lines changed
  • services/static-webserver/client/source/class/osparc/store

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,10 @@ qx.Class.define("osparc.store.Data", {
4646
const params = {
4747
url: {
4848
locationId,
49+
path: path || null,
50+
cursor: cursor || null,
4951
}
5052
};
51-
if (path) {
52-
params["url"]["path"] = path;
53-
}
54-
if (cursor) {
55-
params["url"]["cursor"] = cursor;
56-
}
5753
let pagResp = null;
5854
if (path) {
5955
pagResp = await osparc.data.Resources.fetch("storagePaths", cursor ? "getPathsPage" : "getPaths", params);

0 commit comments

Comments
 (0)