fix: T&C tab - quitar display:none y agregar case terms en loadTabData

This commit is contained in:
Lizandro Guarnizo
2026-03-14 00:09:26 -05:00
parent cf6743fbbd
commit 405a3751e7
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -134,6 +134,11 @@ class SimpleWhatsAppManager {
case 'autoresponses':
this.loadAutoResponses();
break;
case 'terms':
if (typeof termsAdmin !== 'undefined' && typeof termsAdmin.cargar === 'function') {
termsAdmin.cargar(1);
}
break;
case 'logs':
this.loadLogs();
break;
+1 -1
View File
@@ -1051,7 +1051,7 @@ try {
</div>
</div>
<!-- T&C Aceptaciones Tab -->
<div id="terms" class="tab-content" style="display:none;">
<div id="terms" class="tab-content">
<div class="card">
<div class="card-header d-flex justify-content-between align-items-center flex-wrap gap-2">
<h5 class="mb-0"><i class="fas fa-file-contract me-2"></i>Aceptaciones de Términos y Condiciones</h5>