Skip to content

Commit e21a10b

Browse files
fix: enable frontend
1 parent a65a99b commit e21a10b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

services/static-webserver/client/source/class/osparc/data/Resources.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,14 @@ qx.Class.define("osparc.data.Resources", {
631631
create: {
632632
method: "POST",
633633
url: statics.API + "/functions"
634+
},
635+
getOne: {
636+
method: "GET",
637+
url: statics.API + "/functions/{functionId}?include_extras=true"
638+
},
639+
getPage: {
640+
method: "GET",
641+
url: statics.API + "/functions?include_extras=true"
634642
}
635643
}
636644
},

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ qx.Class.define("osparc.store.Functions", {
9292
},
9393

9494
fetchFunctionsPaginated: function(params, options) {
95-
const isBackendReady = false;
95+
const isBackendReady = true;
9696
if (!isBackendReady) {
9797
return new Promise(resolve => {
9898
const response = this.__dummyResponse();
@@ -110,7 +110,7 @@ qx.Class.define("osparc.store.Functions", {
110110
},
111111

112112
fetchFunction: function(functionId) {
113-
const isBackendReady = false;
113+
const isBackendReady = true;
114114
if (!isBackendReady) {
115115
return new Promise(resolve => {
116116
const response = this.__dummyResponse();

0 commit comments

Comments
 (0)