methods: {
longLabel(label) {
if(label.length > 18 ) {
return label.substring(0,18) + '...';
}else {
return label;
}
},
hideModal() {
this.$root.$emit('bv::hide::modal', 'custom-modal-id')
}
}
computed: {
filteredList() {
let resp = this.participants.filter((item) => {
if (!!item) {
return item.username.toLowerCase().includes(this.tagSearch.toLowerCase())
}
});
return resp;
}
},