Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Fix listID not being passed in bulk sub deletion. Closes #384

Kailash Nadhbbffbbc5f3af
diff --git a/frontend/src/views/Subscribers.vue b/frontend/src/views/Subscribers.vue
index cdcdc08c..6596c88d 100644
--- a/frontend/src/views/Subscribers.vue
+++ b/frontend/src/views/Subscribers.vue
@@ -374,7 +374,7 @@ export default Vue.extend({
fn = () => {
this.$api.blocklistSubscribersByQuery({
query: this.queryParams.queryExp,
- list_ids: [],
+ list_ids: [this.queryParams.listID],
}).then(() => this.querySubscribers());
};
}
@@ -409,7 +409,7 @@ export default Vue.extend({
fn = () => {
this.$api.deleteSubscribersByQuery({
query: this.queryParams.queryExp,
- list_ids: [],
+ list_ids: [this.queryParams.listID],
}).then(() => {
this.querySubscribers();