fix(webui): bind view publication to help
Module Package Release / publish-packages (push) Successful in 12s

This commit is contained in:
2026-08-24 11:36:48 +02:00
parent 4e574f3bdd
commit 9a53898388
5 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "govoplan-views"
version = "0.1.20"
version = "0.1.21"
description = "Governed task-focused interface projections for GovOPlaN."
readme = "README.md"
requires-python = ">=3.12"
+1 -1
View File
@@ -1,3 +1,3 @@
"""GovOPlaN Views module."""
__version__ = "0.1.20"
__version__ = "0.1.21"
+1 -1
View File
@@ -39,7 +39,7 @@ from govoplan_views.backend.dsar_provider import (
MODULE_ID = "views"
MODULE_NAME = "Views"
MODULE_VERSION = "0.1.20"
MODULE_VERSION = "0.1.21"
DEFINITION_READ_SCOPE = "views:definition:read"
DEFINITION_WRITE_SCOPE = "views:definition:write"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@govoplan/views-webui",
"version": "0.1.20",
"version": "0.1.21",
"private": true,
"type": "module",
"main": "src/index.ts",
@@ -711,6 +711,8 @@ export default function ViewsAdminPanel({
</Button>
<Button
variant="primary"
helpContextId="views.action.publish"
helpModuleId="views"
onClick={() => void publishDraft()}
disabled={Boolean(editDisabledReason) || !draft.name.trim()}
disabledReason={editDisabledReason ?? (!draft.name.trim() ? VIEWS_INTERFACE_I18N.nameRequiredText : undefined)}