changeSearch console debug Method changeSearch if this getDiscoveryTyp

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
changeSearch () {
console.debug('Method:changeSearch')
if (this.getDiscoveryType == 'Twitter' && this.getTwitter.items && this.getTwitter.items.length == 0) {
}
this.setSearchText(this.getFilters.search)
if (this.getSearchContentType == 'youtube') {
this.getYoutubeVideo()
} else if (this.getSearchContentType == 'twitter') {
this.getTwitterContent()
} else if (this.getSearchContentType == 'facebook') {
this.resetFacebookStates()
} else {
this.resetFilters()
}
},