reset new feed modal after hiding
This commit is contained in:
parent
7afd0e0d3d
commit
be0ae1c1be
1 changed files with 8 additions and 0 deletions
|
|
@ -116,6 +116,14 @@ var vm = new Vue({
|
||||||
this.refreshFeeds()
|
this.refreshFeeds()
|
||||||
this.refreshStats()
|
this.refreshStats()
|
||||||
},
|
},
|
||||||
|
mounted: function() {
|
||||||
|
this.$root.$on('bv::modal::hidden', function(bvEvent, modalId) {
|
||||||
|
if (vm.settings == 'create') {
|
||||||
|
vm.feedNewChoice = []
|
||||||
|
vm.feedNewChoiceSelected = ''
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
data: function() {
|
data: function() {
|
||||||
return {
|
return {
|
||||||
'filterSelected': null,
|
'filterSelected': null,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue