feat(scheduling): persist candidate slot ordering

This commit is contained in:
2026-07-22 03:26:21 +02:00
parent a316341226
commit 835ad82916
5 changed files with 142 additions and 33 deletions

View File

@@ -811,7 +811,7 @@ export default function SchedulingPage({ settings, auth }: { settings: ApiSettin
<EditableSlots
slots={slots}
disabled={!canCreateOrWrite}
reorderable={editorMode === "create"}
reorderable
onAddBelow={(index) => {
setSlots((items) => editorMode === "edit"
? [...items, newSlot(items.length + 1, translateText)]