fix: added icon and description in team event type empty page (#24951)
This commit is contained in:
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(
|
||||
|
||||
Reference in new issue
Block a user