[F] Skip http request if already exists in cookies
This commit is contained in:
@@ -156,6 +156,7 @@ export default class App extends Vue
|
|||||||
if (this.$cookies.isKey('va.grading.' + course.assignmentsId))
|
if (this.$cookies.isKey('va.grading.' + course.assignmentsId))
|
||||||
{
|
{
|
||||||
course.grading = {method: 'TOTAL_MEAN', weightingMap: {}};
|
course.grading = {method: 'TOTAL_MEAN', weightingMap: {}};
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Request grading scheme for this course
|
// Request grading scheme for this course
|
||||||
|
|||||||
Reference in New Issue
Block a user