Event Type: Title not displayed in the mobile view (#7451)

* Event Type: Title not displayed in the mobile view

* Fix toggle not updating in UI

---------

Co-authored-by: gitstart-calcom <[email protected]>
Co-authored-by: Hariom Balhara <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-04-19 13:17:54 -07:00
1 parent 0686c08de3
commit 877220caa0
23 files changed
+135 -39

No files matched your search

@@ -105,7 +105,7 @@ export default function TeamListItem(props: Props) {
alt="Team Logo"
className="inline-flex justify-center"
/>
<div className="ms-3 inline-block">
<div className="ms-3 inline-block truncate">
<span className="text-default text-sm font-bold">{team.name}</span>
<span className="text-muted block text-xs">
{team.slug ? `${process.env.NEXT_PUBLIC_WEBSITE_URL}/team/${team.slug}` : "Unpublished team"}
@@ -95,6 +95,7 @@ function WorkflowsPage() {
heading={t("workflows")}
title={t("workflows")}
subtitle={t("workflows_to_automate_notifications")}
hideHeadingOnMobile
CTA={
query?.data?.profiles.length === 1 &&
session.data?.hasValidLicense &&
@@ -263,6 +263,7 @@ function WorkflowPage() {
</Button>
</div>
}
hideHeadingOnMobile
heading={
session.data?.hasValidLicense &&
isAllDataLoaded && (