From db03949cca0931fd49f4d1d014b99f015caec4d8 Mon Sep 17 00:00:00 2001 From: Jason Snelders Date: Thu, 30 Jul 2020 18:18:04 +1000 Subject: [PATCH] Patch: correcting function name for last PR. --- components/section_interests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/section_interests.js b/components/section_interests.js index eb8ca22..a0066de 100644 --- a/components/section_interests.js +++ b/components/section_interests.js @@ -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); } } -}; +}; \ No newline at end of file