From 01012804044eb9e1cd9b00919e1f6c795ec4789a Mon Sep 17 00:00:00 2001 From: clonbg Date: Wed, 12 Feb 2025 15:11:05 +0100 Subject: [PATCH] add nombre de la lista al editar --- src/pages/IndexPage.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/IndexPage.vue b/src/pages/IndexPage.vue index 9f86be1..fb0c6cc 100644 --- a/src/pages/IndexPage.vue +++ b/src/pages/IndexPage.vue @@ -11,7 +11,7 @@ lista.items?.length : '0' }}
{{ lista.nombre }} -
{{ lista.email_owner }}
@@ -86,14 +86,14 @@ const onLoad = (index, done) => { }, 1000) } -const changeNameList = async (id) => { +const changeNameList = async (id, nombre) => { try { $q.dialog({ title: 'Escriba', message: 'Nuevo nombre de la lista', html: true, prompt: { - model: '', + model: nombre, isValid: val => val.length > 4, // << here is the magic type: 'text' },