fix(webui): bind destructive calendar controls to help
Module Package Release / publish-packages (push) Successful in 13s

This commit is contained in:
2026-08-24 11:36:33 +02:00
parent ae0f3990f1
commit 3792e9ab8a
7 changed files with 10 additions and 6 deletions
@@ -703,6 +703,8 @@ export function CalendarCollectionDeleteDialog({
<legend>{eventCount} event{eventCount === 1 ? "" : "s"}</legend>
<label>
<input
data-help-context-id="calendar.collection-editor"
data-help-module-id="calendar"
type="radio"
name="calendar-delete-event-action"
value="delete"
@@ -713,6 +715,8 @@ export function CalendarCollectionDeleteDialog({
</label>
<label>
<input
data-help-context-id="calendar.collection-editor"
data-help-module-id="calendar"
type="radio"
name="calendar-delete-event-action"
value="move"
@@ -289,7 +289,7 @@ export function CalendarEventDialog({
<>
<div>
{event && canDelete &&
<Button type="button" variant="danger" onClick={requestDelete} disabled={saving} disabledReason={saving ? CALENDAR_I18N.saving : undefined}>
<Button type="button" variant="danger" helpContextId="calendar.event-editor" helpModuleId="calendar" onClick={requestDelete} disabled={saving} disabledReason={saving ? CALENDAR_I18N.saving : undefined}>
<Trash2 size={16} /> i18n:govoplan-calendar.delete.f6fdbe48
</Button>
}