Skip to content
Snippets Groups Projects
Commit c879fc58 authored by robinwilliam.hundt's avatar robinwilliam.hundt
Browse files

Student submissions are sorted by name on StudentPage

Also, the student is not greeted with the anonimised name anymore

fixes #131
parent 7c7283f4
No related branches found
No related tags found
1 merge request!129Resolve "StudentPage Submissions are not sorted by name"
Pipeline #88411 passed
......@@ -33,7 +33,7 @@ export default {
text: 'Task',
align: 'left',
value: 'type.name',
sortable: false
sortable: true
},
{
text: 'Score',
......
......@@ -3,7 +3,7 @@
<v-layout justify center>
<template v-if="loaded">
<v-flex md10 mt-5 offset-xs1>
<h2>Submissions of {{ studentName || 'Student'}}</h2>
<h2>Your submissions:</h2>
<submission-list :submissions="submissions"/>
</v-flex>
</template>
......@@ -28,7 +28,6 @@ export default {
}
},
computed: {
studentName () { return StudentPage.state.studentName },
submissions () { return StudentPage.state.submissionsForList },
loaded () { return StudentPage.state.loaded }
}
......
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