[M] Move implementations too

This commit is contained in:
Hykilpikonna
2020-04-20 15:30:45 -04:00
parent ed727a7f26
commit 14884d0111
2 changed files with 9 additions and 7 deletions
@@ -171,9 +171,4 @@ export default class CourseSelection extends Vue
return list;
}
get nextYearGradeLevel()
{
return GPAUtils.gradeLevelName(this.app.user.gradeLevel + 1)
}
}
+9 -2
View File
@@ -16,12 +16,19 @@
</template>
<script lang="ts">
import {Component, Vue} from 'vue-property-decorator'
import {Component, Prop, Vue} from 'vue-property-decorator'
import App from '@/components/app/app';
import {GPAUtils} from '@/logic/utils/gpa-utils';
@Component
export default class Welcome extends Vue
{
@Prop({required: true}) app: App
get nextYearGradeLevel()
{
return GPAUtils.gradeLevelName(this.app.user.gradeLevel + 1)
}
}
</script>