diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index 7b0bf24..f2763bb 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -116,6 +116,14 @@ var vm = new Vue({ this.refreshFeeds() this.refreshStats() }, + mounted: function() { + this.$root.$on('bv::modal::hidden', function(bvEvent, modalId) { + if (vm.settings == 'create') { + vm.feedNewChoice = [] + vm.feedNewChoiceSelected = '' + } + }) + }, data: function() { return { 'filterSelected': null,