fix: added icon and description in team event type empty page (#24951)

This commit is contained in:
spandev authored and GitHub committed 2025-11-06 13:26:06 +05:30
1 parent b01cb27c56
commit c741d8133e
2 files changed
+6 -2

No files matched your search

@@ -877,12 +877,15 @@ const EmptyEventTypeList = ({
return (
<>
<EmptyScreen
Icon="link"
headline={searchTerm ? t("no_result_found_for", { searchTerm }) : t("team_no_event_types")}
description={t("new_team_event_type_description")}
className="mb-16"
buttonRaw={
<Button
href={`?dialog=new&eventPage=${group.profile.slug}&teamId=${group.teamId}`}
variant="button"
className="mt-5">
>
{t("create")}
</Button>
}
@@ -1003,7 +1006,7 @@ const EventTypesPage = ({ userEventGroupsData, user }: Props) => {
if (redirectUrl) {
router.push(redirectUrl);
}
}, []);
}, [router]);
useEffect(() => {
setShowProfileBanner(
@@ -947,6 +947,7 @@
"new_event_type_btn": "New event type",
"new_event_type_heading": "Create your first event type",
"new_event_type_description": "Event types enable you to share links that show available times on your calendar and allow people to make bookings with you.",
"new_team_event_type_description": "Event types enable the team to share links that show available times on their calendars and allow people to make bookings with the team.",
"event_type_created_successfully": "{{eventTypeTitle}} event type created successfully",
"no_call_history": "No call history",
"no_call_history_description": "No matching call history found for the particular account/search query.",