SplitSession auch für Rahmenprogramme #36
|
|
@ -773,7 +773,8 @@ export default function TrainingUnitSectionsEditor({
|
||||||
if (
|
if (
|
||||||
typeof onMoveSectionsAcrossSlots === 'function' &&
|
typeof onMoveSectionsAcrossSlots === 'function' &&
|
||||||
sectionToSlot >= 0 &&
|
sectionToSlot >= 0 &&
|
||||||
fromSlot >= 0
|
fromSlot >= 0 &&
|
||||||
|
fromSlot !== sectionToSlot
|
||||||
) {
|
) {
|
||||||
return { kind: 'crossSlot', fromSi, fromSlot }
|
return { kind: 'crossSlot', fromSi, fromSlot }
|
||||||
}
|
}
|
||||||
|
|
@ -937,7 +938,8 @@ export default function TrainingUnitSectionsEditor({
|
||||||
if (
|
if (
|
||||||
typeof onMoveSectionsAcrossSlots === 'function' &&
|
typeof onMoveSectionsAcrossSlots === 'function' &&
|
||||||
sectionToSlot >= 0 &&
|
sectionToSlot >= 0 &&
|
||||||
fromSlot >= 0
|
fromSlot >= 0 &&
|
||||||
|
fromSlot !== sectionToSlot
|
||||||
) {
|
) {
|
||||||
onMoveSectionsAcrossSlots({
|
onMoveSectionsAcrossSlots({
|
||||||
fromSlot,
|
fromSlot,
|
||||||
|
|
@ -1011,7 +1013,8 @@ export default function TrainingUnitSectionsEditor({
|
||||||
if (
|
if (
|
||||||
typeof onMoveSectionsAcrossSlots === 'function' &&
|
typeof onMoveSectionsAcrossSlots === 'function' &&
|
||||||
sectionToSlot >= 0 &&
|
sectionToSlot >= 0 &&
|
||||||
fromSlot >= 0
|
fromSlot >= 0 &&
|
||||||
|
fromSlot !== sectionToSlot
|
||||||
) {
|
) {
|
||||||
onMoveSectionsAcrossSlots({
|
onMoveSectionsAcrossSlots({
|
||||||
fromSlot,
|
fromSlot,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user