diff --git a/resources/views/vcard_api.html b/resources/views/vcard_api.html index ffa420b..1dca75c 100644 --- a/resources/views/vcard_api.html +++ b/resources/views/vcard_api.html @@ -176,8 +176,12 @@ - +
+ + +
@@ -776,6 +780,149 @@ + + + @@ -1109,6 +1263,11 @@ function vcardApiApp() { editUsuarioError: '', editUsuarioSuccess: false, + // Modal ver vcard (detalle completo) + verVcardModal: false, + verVcardData: null, + verVcardTab: 'info', + // Modal editar vcard editVcardModal: false, editVcardTab: 'datos', @@ -1160,6 +1319,7 @@ function vcardApiApp() { this.editUsuarioModal = false; this.editVcardModal = false; this.verModal = false; + this.verVcardModal = false; }, async loadConfig() { @@ -1374,6 +1534,14 @@ function vcardApiApp() { this.saving = false; }, + // ─── Ver VCard ─────────────────────────────────────────────────────── + + openVerVcardModal(v) { + this.verVcardData = v; + this.verVcardTab = 'info'; + this.verVcardModal = true; + }, + // ─── Edit VCard ────────────────────────────────────────────────────── openEditVcardModal(v) {