Skip to content

Commit e373cdc

Browse files
committed
hasNewPlusButton
1 parent 5501901 commit e373cdc

File tree

1 file changed

+2
-8
lines changed
  • services/static-webserver/client/source/class/osparc/product

1 file changed

+2
-8
lines changed

services/static-webserver/client/source/class/osparc/product/Utils.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -323,14 +323,8 @@ qx.Class.define("osparc.product.Utils", {
323323
},
324324

325325
hasNewPlusButton: function() {
326-
return [
327-
"osparc",
328-
"s4l",
329-
"s4lacad",
330-
"s4llite",
331-
// "tis",
332-
// "tiplite",
333-
].includes(osparc.product.Utils.getProductName());
326+
const newStudiesData = osparc.store.Products.getInstance().getPlusButtonUiConfig();
327+
return Boolean(newStudiesData);
334328
},
335329
}
336330
});

0 commit comments

Comments
 (0)