Skip to content

Commit

Permalink
Fix incorrect [list_id] param in bulk subscriber deletion UI
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Sep 7, 2021
1 parent 68369a8 commit 1f4f426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/views/Subscribers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ export default Vue.extend({
fn = () => {
this.$api.blocklistSubscribersByQuery({
query: this.queryParams.queryExp,
list_ids: [this.queryParams.listID],
list_ids: this.queryParams.listID ? [this.queryParams.listID] : null,
}).then(() => this.querySubscribers());
};
}
Expand Down Expand Up @@ -416,7 +416,7 @@ export default Vue.extend({
fn = () => {
this.$api.deleteSubscribersByQuery({
query: this.queryParams.queryExp,
list_ids: [this.queryParams.listID],
list_ids: this.queryParams.listID ? [this.queryParams.listID] : null,
}).then(() => {
this.querySubscribers();
Expand Down

0 comments on commit 1f4f426

Please sign in to comment.