Skip to content
Snippets Groups Projects
Commit b4a356b9 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Use correct query for group select

parent 7fbc04f1
No related branches found
No related tags found
1 merge request!329Introduce substitution to do list
......@@ -6,7 +6,7 @@ import SubjectChip from "aleksis.apps.cursus/components/SubjectChip.vue";
import {
amendedLessonsFromAbsences,
createOrUpdateSubstitutions,
groupsByOwner,
gqlGroups,
} from "./amendLesson.graphql";
</script>
......@@ -143,7 +143,7 @@ export default {
},
},
apollo: {
groups: groupsByOwner,
groups: gqlGroups,
},
};
</script>
......@@ -20,15 +20,7 @@ query gqlRooms {
}
query gqlGroups {
groups: groups {
id
name
shortName
}
}
query groupsByOwner {
groups: groupsByOwner {
groups: timetableGroups {
id
name
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment