From c08995fdc59111078e554b2714c82151072716ee Mon Sep 17 00:00:00 2001 From: Sthefani Date: Thu, 26 Oct 2023 16:49:01 -0300 Subject: [PATCH] created modal --- src/components/whatsAppCatalogs/List.vue | 17 +++++++++++++++-- src/locales/en.json | 2 ++ src/locales/es_es.json | 2 ++ src/locales/pt_br.json | 2 ++ 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/components/whatsAppCatalogs/List.vue b/src/components/whatsAppCatalogs/List.vue index 2827ad85..9b0c3ae7 100644 --- a/src/components/whatsAppCatalogs/List.vue +++ b/src/components/whatsAppCatalogs/List.vue @@ -45,14 +45,27 @@ scheme="feedback-red" :validate="connectedCatalog.name" :validatePlaceholder="connectedCatalog.name" - :title="$t('WhatsApp.catalog.list.disable_modal.title')" + :title=" + catalogToEnable + ? $t('WhatsApp.catalog.list.disable_modal.title_active') + : $t('WhatsApp.catalog.list.disable_modal.title') + " :actionPrimaryLabel="$t('WhatsApp.catalog.list.disable_modal.confirm')" :actionSecondaryLabel="$t('general.Cancel')" @click-action-secondary="closeModal" @click-action-primary="handleCatalogConfirmation" >