SplitSession auch für Rahmenprogramme #36
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user