Skip to content

Commit

Permalink
udpate variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
npfoss committed Feb 8, 2020
1 parent f5ae50b commit c4a320e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Semester.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<b>
<v-hover>
<span slot-scope="{ hover }" :class="hover && 'hovering'" @click="openChangeYearDialog">
{{ semesterName }}
{{ semesterYearName }}
{{ semesterType }}
<span v-if="index>0">{{ "'" + semesterYear.toString().substring(2) }}</span>
</span>
Expand Down Expand Up @@ -314,7 +314,7 @@ export default {
expectedHours: expectedHours
};
},
semesterName: function () {
semesterYearName: function () {
const yearNames = ['Freshman', 'Sophomore', 'Junior', 'Senior', 'Fifth Year'];
if (this.index === 0) {
return '';
Expand Down

0 comments on commit c4a320e

Please sign in to comment.