badges on the right, evolution api sender
This commit is contained in:
@@ -127,7 +127,7 @@ class TakeoversCrud extends HTMLElement {
|
||||
this.loadProducts();
|
||||
|
||||
// Refresh cuando se recibe evento SSE de nuevo takeover
|
||||
this._unsubSse = on("sse:takeover", () => this.load());
|
||||
this._unsubSse = on("takeover:created", () => this.load());
|
||||
}
|
||||
|
||||
disconnectedCallback() {
|
||||
@@ -298,11 +298,6 @@ class TakeoversCrud extends HTMLElement {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field" style="flex:1;">
|
||||
<label>Tu respuesta (se enviara como el bot)</label>
|
||||
<textarea id="responseInput" placeholder="Ej: Te anoto 2kg de vacío. ¿Algo más?"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="alias-section">
|
||||
<h4>Agregar Alias (opcional)</h4>
|
||||
<div class="checkbox-row">
|
||||
@@ -320,6 +315,11 @@ class TakeoversCrud extends HTMLElement {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field" style="flex:1;">
|
||||
<label>Tu respuesta (se enviara como el bot)</label>
|
||||
<textarea id="responseInput" placeholder="Ej: Te anoto 2kg de vacío. ¿Algo más?"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="actions">
|
||||
<button id="respondBtn">Enviar Respuesta</button>
|
||||
<button id="cancelBtn" class="danger">Cancelar Takeover</button>
|
||||
|
||||
Reference in New Issue
Block a user