diff --git a/src/components/EditSites.vue b/src/components/EditSites.vue index e0c75f8..4648305 100644 --- a/src/components/EditSites.vue +++ b/src/components/EditSites.vue @@ -415,7 +415,10 @@ export default { }, removeSelectedSites () { this.multipleSelection.forEach(e => sites.remove(e.id)) + this.$refs.editSitesTable.clearFilter() this.getSites() + this.updateDatabase() + this.enableBatchEdit = false }, rowDrop () { if (this.checkAllSitesLoading) { diff --git a/src/components/IPTV.vue b/src/components/IPTV.vue index 6adf8ae..43d12d8 100644 --- a/src/components/IPTV.vue +++ b/src/components/IPTV.vue @@ -340,7 +340,10 @@ export default { }, removeSelectedChannels () { this.multipleSelection.forEach(e => iptv.remove(e.id)) + this.$refs.iptvTable.clearFilter() this.getChannels() + this.updateDatabase() + this.enableBatchEdit = false }, getChannels () { iptv.all().then(res => {