Skip to content

Commit

Permalink
Disable archiving on opt-in campaigns.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Nov 10, 2022
1 parent eaaca05 commit ebf63b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/views/Campaign.vue
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ export default Vue.extend({
},
canArchive() {
return this.data.status !== 'cancelled';
return this.data.status !== 'cancelled' && this.data.type !== 'optin';
},
selectedLists() {
Expand Down

0 comments on commit ebf63b5

Please sign in to comment.