Patch: correcting function name for last PR.

This commit is contained in:
Jason Snelders 2020-07-30 18:18:04 +10:00
parent 92646aeeeb
commit db03949cca
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ var sectionInterestsComponent = {
methods: {
addInterest: function()
{
var item = models.getDefaultInterest();
var item = models.newDefaultInterest;
this.$root.sections.interests.push(item);
},
@ -63,4 +63,4 @@ var sectionInterestsComponent = {
this.$root.moveArrayPosition(this.$root.sections.interests, index, index + 1);
}
}
};
};