|
@@ -226,7 +226,7 @@ const EventScreen = ({ route }: { route: any }) => {
|
|
|
setMaxVisibleParticipants(Math.floor(partisipantsWidth / 24));
|
|
|
setMaxVisibleParticipantsWithGap(Math.floor(partisipantsWidth / 32));
|
|
|
setFilteredParticipants(
|
|
|
- data.data.type === 4 ? data.data.participants_approved_data : data.data.participants_data
|
|
|
+ data.data.type !== 1 ? data.data.participants_approved_data : data.data.participants_data
|
|
|
);
|
|
|
setFilteredInterested(data.data.participants_data);
|
|
|
|
|
@@ -1202,7 +1202,7 @@ const EventScreen = ({ route }: { route: any }) => {
|
|
|
NAVIGATION_PAGES.PARTICIPANTS_LIST,
|
|
|
{
|
|
|
participants:
|
|
|
- event.type === 4
|
|
|
+ event.type !== 1
|
|
|
? event.participants_approved_full_data
|
|
|
: event.participants_full_data,
|
|
|
eventId: event.id,
|
|
@@ -1310,7 +1310,7 @@ const EventScreen = ({ route }: { route: any }) => {
|
|
|
</View>
|
|
|
) : null}
|
|
|
</View>
|
|
|
-
|
|
|
+
|
|
|
{filteredInterested.length > 0 &&
|
|
|
filteredParticipants.length > 0 &&
|
|
|
event.type === 4 && (
|
|
@@ -1473,7 +1473,7 @@ const EventScreen = ({ route }: { route: any }) => {
|
|
|
NAVIGATION_PAGES.PARTICIPANTS_LIST,
|
|
|
{
|
|
|
participants:
|
|
|
- event.type === 4
|
|
|
+ event.type !== 1
|
|
|
? event.participants_approved_full_data
|
|
|
: event.participants_full_data,
|
|
|
eventId: event.id,
|