From 65d99128650b2d4059d6cfacba37f09d902fe24a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20Del=C3=A8gue?= Date: Wed, 16 Oct 2024 16:58:16 +0200 Subject: [PATCH] Swagger + IHM label --- nio-server/conf/swagger/swagger.json | 7 +++++++ nio-server/javascript/src/nio/pages/GroupPermissionPage.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/nio-server/conf/swagger/swagger.json b/nio-server/conf/swagger/swagger.json index d42e877..76f3cfa 100644 --- a/nio-server/conf/swagger/swagger.json +++ b/nio-server/conf/swagger/swagger.json @@ -931,6 +931,13 @@ "description": "L'identifiant utilisateur", "required": true, "type": "string" + }, + { + "name": "showExpiredConsents", + "in": "query", + "description": "Consentement expiré oui / non", + "required": false, + "type": "boolean" } ], "responses": { diff --git a/nio-server/javascript/src/nio/pages/GroupPermissionPage.js b/nio-server/javascript/src/nio/pages/GroupPermissionPage.js index e5d37c7..4ccc5e6 100644 --- a/nio-server/javascript/src/nio/pages/GroupPermissionPage.js +++ b/nio-server/javascript/src/nio/pages/GroupPermissionPage.js @@ -200,7 +200,7 @@ class Permission extends Component { possibleValues={["OptIn", "OptOut"]} errorKey={`${this.props.prefixe}permissions.${this.props.index}.type.required`}/> - this.onChange(e, "validityPeriod")} disabled={this.props.readOnlyMode}