Fixed saving in progress tag when clicking save (#9598)

This commit is contained in:
Keith Holliday
2017-11-30 08:16:54 -06:00
committed by GitHub
parent ced3621dea
commit 77f71b5415
+1 -1
View File
@@ -410,7 +410,7 @@ export default {
this.$delete(this.tagsSnap[key], index);
},
saveTags () {
if (this.newTag) this.addTag();
if (this.newTag) this.addTag(null, 'tags');
this.tagsByType.user.tags = this.tagsSnap.tags;
this.tagsByType.challenges.tags = this.tagsSnap.challenges;