From 57a76aba39cd55c38444c3f91cddbe5c84f0d5bd Mon Sep 17 00:00:00 2001 From: Olivier Levitt Date: Thu, 9 Nov 2023 11:34:03 +0100 Subject: [PATCH] Hide user defined values (#299) --- .../fr/insee/onyxia/api/controller/pub/CatalogController.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/onyxia-api/src/main/java/fr/insee/onyxia/api/controller/pub/CatalogController.java b/onyxia-api/src/main/java/fr/insee/onyxia/api/controller/pub/CatalogController.java index 09e6c789..52483dc2 100644 --- a/onyxia-api/src/main/java/fr/insee/onyxia/api/controller/pub/CatalogController.java +++ b/onyxia-api/src/main/java/fr/insee/onyxia/api/controller/pub/CatalogController.java @@ -180,6 +180,9 @@ private void addCustomOnyxiaProperties(Pkg pkg) { userDefinedValues.setDescription("Values defined by the end user"); userDefinedValues.setDefaut(""); userDefinedValues.setTitle("User defined values"); + XOnyxia xonyxiaUserDefinedValues = new XOnyxia(); + xonyxiaUserDefinedValues.setHidden(true); + userDefinedValues.setXonyxia(xonyxiaUserDefinedValues); onyxiaProperties.put("userDefinedValues", userDefinedValues); Property owner = new Property(); owner.setType("string");