🚸 Improve UX in timetable editor
This commit is contained in:
@ -224,7 +224,7 @@ export const possibleTimetableGroups = computed(() => {
|
||||
// found in the current timetable
|
||||
for (const day of timetable.value.data) {
|
||||
for (const lesson of day) {
|
||||
if (Array.isArray(lesson)) {
|
||||
if (Array.isArray(lesson) && lesson.length > 1) {
|
||||
for (const group of lesson) {
|
||||
if (group.group && !foundTimetableGroups.includes(group.group)) {
|
||||
foundTimetableGroups.push(group.group);
|
||||
|
Reference in New Issue
Block a user