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'
},