fix: calendar

Deskripsi:
- tinggi scroll pada tambah data
- tinggi scroll pada edit tambah anggota
- checked anggota pada edit tambah anggota
- on press disable saat user telah menjadi anggota pada edit tambah anggota

No Issues
This commit is contained in:
2025-09-11 11:44:34 +08:00
parent d52453c530
commit b9b615636b
2 changed files with 3 additions and 2 deletions

View File

@@ -142,6 +142,7 @@ export default function AddMemberCalendarEvent() {
}
<ScrollView
showsVerticalScrollIndicator={false}
style={[Styles.h100]}
>
{
data.length > 0 ?
@@ -153,7 +154,6 @@ export default function AddMemberCalendarEvent() {
style={[Styles.itemSelectModal]}
onPress={() => {
!found && onChoose(item.idUser, item.name, item.img)
onChoose(item.idUser, item.name, item.img)
}}
>
<View style={[Styles.rowItemsCenter]}>
@@ -166,7 +166,7 @@ export default function AddMemberCalendarEvent() {
</View>
</View>
{
selectMember.some((i: any) => i.idUser == item.id) && <AntDesign name="check" size={20} color={'black'} />
selectMember.some((i: any) => i.idUser == item.idUser) && <AntDesign name="check" size={20} color={'black'} />
}
</Pressable>
)

View File

@@ -131,6 +131,7 @@ export default function CreateCalendarAddMember() {
}
<ScrollView
showsVerticalScrollIndicator={false}
style={[Styles.h100]}
>
{