diff --git a/plugins/kanban/dashboard/dist/index.js b/plugins/kanban/dashboard/dist/index.js index fb4d346582c..9ed0d4ef229 100644 --- a/plugins/kanban/dashboard/dist/index.js +++ b/plugins/kanban/dashboard/dist/index.js @@ -2027,11 +2027,10 @@ ), h("div", { className: "hermes-kanban-bulk-reassign", title: "Reassign selected tasks to a different Hermes profile. Pick a profile (or unassign) and click Apply." }, - h(Select, { + h(Select, Object.assign({ value: assignee, - onChange: function (e) { setAssignee(e.target.value); }, className: "h-7 text-xs", - }, + }, selectChangeHandler(setAssignee)), h(SelectOption, { value: "" }, "— reassign —"), h(SelectOption, { value: "__none__" }, "(unassign)"), props.assignees.map(function (a) { @@ -2542,12 +2541,11 @@ className: "h-7 text-xs", }), h("div", { className: "flex gap-2" }, - h(Select, { + h(Select, Object.assign({ value: workspaceKind, - onChange: function (e) { setWorkspaceKind(e.target.value); }, title: "scratch: isolated temp dir (default). worktree: git worktree on the assignee profile. dir: exact path (required below).", className: "h-7 text-xs w-28", - }, + }, selectChangeHandler(setWorkspaceKind)), h(SelectOption, { value: "scratch" }, "scratch"), h(SelectOption, { value: "worktree" }, "worktree"), h(SelectOption, { value: "dir" }, "dir"), @@ -2559,12 +2557,11 @@ className: "h-7 text-xs flex-1", }) : null, ), - h(Select, { + h(Select, Object.assign({ value: parent, - onChange: function (e) { setParent(e.target.value); }, className: "h-7 text-xs", title: "Optional parent task. A child stays blocked in its current column until the parent is marked done.", - }, + }, selectChangeHandler(setParent)), h(SelectOption, { value: "" }, tx(t, "noParent", "— no parent —")), (props.allTasks || []).map(function (task) { return h(SelectOption, { key: task.id, value: task.id },