Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit 6ad2504

Browse files
authored
fix: show events select (#10186)
* fix: show events select * fix: default to no selected option
1 parent 9ed1736 commit 6ad2504

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/user/UserEvents.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
} from "@services/utils/event/filterEvent";
99

1010
const allEventOptions = [
11+
{ value: "", name: "options" },
1112
{ value: "all", name: "All Events" },
1213
{ value: "future", name: "Future Events" },
1314
{ value: "ongoing", name: "Ongoing Events" },
@@ -53,7 +54,7 @@ export default function UserEvents({
5354
<Alert type="info" message="No Events found" />
5455
)}
5556

56-
{eventsToShow.length > 0 && (
57+
{events.length > 0 && (
5758
<Select
5859
name="event-type"
5960
value={eventType}

0 commit comments

Comments
 (0)