From 2d7de2473d545928813962a2a31db17bcedd15ee Mon Sep 17 00:00:00 2001 From: Jason Snelders Date: Thu, 30 Jul 2020 18:25:52 +1000 Subject: [PATCH] This is why you test before you commit. I didn't and I pushed bad code. --- components/section_interests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/section_interests.js b/components/section_interests.js index a0066de..52a63c2 100644 --- a/components/section_interests.js +++ b/components/section_interests.js @@ -29,7 +29,7 @@ var sectionInterestsComponent = { methods: { addInterest: function() { - var item = models.newDefaultInterest; + var item = models.newDefaultInterest(); this.$root.sections.interests.push(item); },