SplitSession auch für Rahmenprogramme #36

Merged
Lars merged 11 commits from develop into main 2026-05-16 09:02:51 +02:00
Showing only changes of commit f1c470a8a3 - Show all commits

View File

@ -773,7 +773,8 @@ export default function TrainingUnitSectionsEditor({
if (
typeof onMoveSectionsAcrossSlots === 'function' &&
sectionToSlot >= 0 &&
fromSlot >= 0
fromSlot >= 0 &&
fromSlot !== sectionToSlot
) {
return { kind: 'crossSlot', fromSi, fromSlot }
}
@ -937,7 +938,8 @@ export default function TrainingUnitSectionsEditor({
if (
typeof onMoveSectionsAcrossSlots === 'function' &&
sectionToSlot >= 0 &&
fromSlot >= 0
fromSlot >= 0 &&
fromSlot !== sectionToSlot
) {
onMoveSectionsAcrossSlots({
fromSlot,
@ -1011,7 +1013,8 @@ export default function TrainingUnitSectionsEditor({
if (
typeof onMoveSectionsAcrossSlots === 'function' &&
sectionToSlot >= 0 &&
fromSlot >= 0
fromSlot >= 0 &&
fromSlot !== sectionToSlot
) {
onMoveSectionsAcrossSlots({
fromSlot,