Fix fila column label and add error handling to campaign action buttons
Relabel misleading "Empresa" header to "Lead ID" in fila table (queue has no join to leads, cell showed lead_id). Wrap iniciar/pausar/retomar and aprovar/cancelar selecionados handlers in try/catch with toast on failure, matching btn-gerar-fila's existing pattern.
This commit is contained in:
+1
-1
@@ -268,7 +268,7 @@
|
||||
<button class="btn-ghost btn-sm" id="btn-cancelar-selecionados" type="button">Cancelar selecionados</button>
|
||||
</div>
|
||||
<table>
|
||||
<thead><tr><th></th><th>Empresa</th><th>Numero</th><th>Mensagem</th><th>Status</th></tr></thead>
|
||||
<thead><tr><th></th><th>Lead ID</th><th>Numero</th><th>Mensagem</th><th>Status</th></tr></thead>
|
||||
<tbody id="fila-tabela"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user