fix(webui): bind compliance disposition to help
Module Package Release / publish-packages (push) Successful in 11s

This commit is contained in:
2026-08-24 11:36:45 +02:00
parent 05e5caa447
commit e898c853e5
5 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@govoplan/risk-compliance-webui", "name": "@govoplan/risk-compliance-webui",
"version": "0.1.19", "version": "0.1.20",
"private": true, "private": true,
"type": "module", "type": "module",
"main": "webui/src/index.ts", "main": "webui/src/index.ts",
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "govoplan-risk-compliance" name = "govoplan-risk-compliance"
version = "0.1.19" version = "0.1.20"
description = "GovOPlaN Risk Compliance platform module seed." description = "GovOPlaN Risk Compliance platform module seed."
readme = "README.md" readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.12"
@@ -69,7 +69,7 @@ from govoplan_risk_compliance.backend.permissions import (
MODULE_ID = "risk_compliance" MODULE_ID = "risk_compliance"
MODULE_NAME = "Risk Compliance" MODULE_NAME = "Risk Compliance"
MODULE_VERSION = "0.1.19" MODULE_VERSION = "0.1.20"
OPTIONAL_DEPENDENCIES = ( OPTIONAL_DEPENDENCIES = (
"audit", "audit",
"policy", "policy",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@govoplan/risk-compliance-webui", "name": "@govoplan/risk-compliance-webui",
"version": "0.1.19", "version": "0.1.20",
"private": true, "private": true,
"type": "module", "type": "module",
"main": "src/index.ts", "main": "src/index.ts",
@@ -828,6 +828,8 @@ function ReviewPane({
<DocumentationHelpLink reference={RISK_COMPLIANCE_DOCUMENTATION} /> <DocumentationHelpLink reference={RISK_COMPLIANCE_DOCUMENTATION} />
<Button <Button
variant="primary" variant="primary"
helpContextId="risk_compliance.review.disposition"
helpModuleId="risk_compliance"
onClick={() => setDialogOpen(true)} onClick={() => setDialogOpen(true)}
disabled={!detail || busy} disabled={!detail || busy}
disabledReason={!detail ? RISK_COMPLIANCE_I18N.candidateRequired : busy ? RISK_COMPLIANCE_I18N.busy : undefined} disabledReason={!detail ? RISK_COMPLIANCE_I18N.candidateRequired : busy ? RISK_COMPLIANCE_I18N.busy : undefined}