Skip to content

Commit 9b982ac

Browse files
committed
WEBSERVER_FUNCTIONS
1 parent ee31864 commit 9b982ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

services/static-webserver/client/source/class/osparc/utils/DisabledPlugins.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ qx.Class.define("osparc.utils.DisabledPlugins", {
2929
VERSION_CONTROL: "WEBSERVER_VERSION_CONTROL",
3030
META_MODELING: "WEBSERVER_META_MODELING",
3131
LICENSES: "WEBSERVER_LICENSES",
32+
FUNCTIONS: "WEBSERVER_FUNCTIONS",
3233

3334
isExportDisabled: function() {
3435
return this.__isPluginDisabled(this.EXPORT);
@@ -52,6 +53,10 @@ qx.Class.define("osparc.utils.DisabledPlugins", {
5253
return this.__isPluginDisabled(this.LICENSES);
5354
},
5455

56+
isFunctionsDisabled: function() {
57+
return this.__isPluginDisabled(this.FUNCTIONS);
58+
},
59+
5560
__isPluginDisabled: function(key) {
5661
const statics = osparc.store.Store.getInstance().get("statics");
5762
if (statics) {

0 commit comments

Comments
 (0)