fix(webui): bind list deletion to help

This commit is contained in:
2026-08-24 11:36:37 +02:00
parent 5e85c9fc02
commit 53e0693e70
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-dist-lists"
version = "0.1.19"
version = "0.1.20"
description = "GovOPlaN operational distribution lists and governed audience expansion."
readme = "README.md"
requires-python = ">=3.12"
+1 -1
View File
@@ -2,4 +2,4 @@
__all__ = ["__version__"]
__version__ = "0.1.19"
__version__ = "0.1.20"
+1 -1
View File
@@ -57,7 +57,7 @@ from govoplan_dist_lists.backend.dsar_provider import (
MODULE_ID = "dist_lists"
MODULE_NAME = "Distribution Lists"
MODULE_VERSION = "0.1.19"
MODULE_VERSION = "0.1.20"
READ_SCOPE = "dist_lists:list:read"
WRITE_SCOPE = "dist_lists:list:write"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@govoplan/dist-lists-webui",
"version": "0.1.19",
"version": "0.1.20",
"private": true,
"type": "module",
"main": "src/index.ts",
@@ -613,6 +613,8 @@ export default function DistributionListsPage({ settings, auth }: Props) {
/>}
destructiveActions={<IconButton
label="Delete distribution list"
helpContextId="dist_lists.action.delete"
helpModuleId="dist_lists"
icon={<Trash2 size={16} />}
variant="danger"
disabled={!selected || !canWrite}