From ebf63b5bed2071bbbc8bc7e82484693876379e21 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Tue, 8 Nov 2022 23:37:14 +0530 Subject: [PATCH] Disable archiving on opt-in campaigns. --- frontend/src/views/Campaign.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/Campaign.vue b/frontend/src/views/Campaign.vue index a3ab739..759217e 100644 --- a/frontend/src/views/Campaign.vue +++ b/frontend/src/views/Campaign.vue @@ -531,7 +531,7 @@ export default Vue.extend({ }, canArchive() { - return this.data.status !== 'cancelled'; + return this.data.status !== 'cancelled' && this.data.type !== 'optin'; }, selectedLists() {