up
This commit is contained in:
@@ -934,7 +934,12 @@ class SimpleWhatsAppManager {
|
||||
});
|
||||
|
||||
if (response && response.success) {
|
||||
this.showSuccess('Plantilla guardada correctamente');
|
||||
const status = response.status || 'pending';
|
||||
if (status === 'approved') {
|
||||
this.showSuccess('Plantilla guardada y marcada como APROBADA.');
|
||||
} else {
|
||||
this.showSuccess('Plantilla guardada correctamente. Estado: PENDIENTE.');
|
||||
}
|
||||
|
||||
// Cerrar modal
|
||||
const modal = document.getElementById('createTemplateModal');
|
||||
|
||||
Reference in New Issue
Block a user