|
@@ -45,9 +45,9 @@ export function Confirm({route, navigation}) {
|
45
|
45
|
navigation.navigate('Search');
|
46
|
46
|
});
|
47
|
47
|
|
48
|
|
- console.log("en confirm", route.params.tag.citaID);
|
|
48
|
+ //console.log("en confirm", route.params.tag.citaID);
|
49
|
49
|
//const cita = firebase.firestore().collection('APPOINTMENTS').where("new", "==", "true").onSnapshot(snapShot => {
|
50
|
|
- const cita = firebase.firestore().collection('APPOINTMENTS').where("citaID", "==", route.params.tag.citaID).onSnapshot(snapShot => {
|
|
50
|
+ const cita = firebase.firestore().collection('APPOINTMENTS').where("citaID", "==", route.params.x).onSnapshot(snapShot => {
|
51
|
51
|
const appointments = snapShot.docs.map(docSnap => {
|
52
|
52
|
return{
|
53
|
53
|
_id:docSnap.id,
|
|
@@ -127,14 +127,6 @@ export function Confirm({route, navigation}) {
|
127
|
127
|
console.log("date");
|
128
|
128
|
}}
|
129
|
129
|
>
|
130
|
|
- <List.Item
|
131
|
|
- title='Usuario:'
|
132
|
|
- description={item.User}
|
133
|
|
- titleNumberOfLines={1}
|
134
|
|
- titleStyle={styles.listTitle}
|
135
|
|
- descriptionStyle={styles.listDescription}
|
136
|
|
- descriptionNumberOfLines={1}
|
137
|
|
- />
|
138
|
130
|
<List.Item
|
139
|
131
|
title='Usuario:'
|
140
|
132
|
description={item.User}
|