agentic email invite html
This commit is contained in:
parent
65bb73f30b
commit
04a033e099
4 changed files with 403 additions and 23 deletions
|
|
@ -34,6 +34,7 @@ import CompanyAliases from "./CompanyAliases";
|
|||
import CompanyGroups from "./CompanyGroups";
|
||||
import CompanyPeople from "./CompanyPeople";
|
||||
import CompanySecurity from "./CompanySecurity";
|
||||
import CompanyOverview from "./CompanyOverview";
|
||||
import CompanyOverviewSetup, { isOrgSetupComplete } from "./CompanyOverviewSetup";
|
||||
import ChangePasswordModal from "./ChangePasswordModal";
|
||||
import ComposeModal from "./ComposeModal";
|
||||
|
|
@ -278,17 +279,10 @@ export default function DashboardPage() {
|
|||
</div>
|
||||
|
||||
{!isOrgOnboarding && (
|
||||
<div className="dashboard-compose-wrap">
|
||||
<button className="dashboard-compose" type="button" onClick={() => setComposeOpen(true)}>
|
||||
<span className="dashboard-compose-main">
|
||||
<Mail size={16} strokeWidth={1.75} />
|
||||
<span>Compose</span>
|
||||
</span>
|
||||
</button>
|
||||
<button className="dashboard-compose-menu" type="button" aria-label="Compose options">
|
||||
<ChevronDown size={14} strokeWidth={1.75} />
|
||||
</button>
|
||||
</div>
|
||||
<button className="dashboard-compose" type="button" onClick={() => setComposeOpen(true)}>
|
||||
<Mail size={16} strokeWidth={1.75} />
|
||||
<span>Compose</span>
|
||||
</button>
|
||||
)}
|
||||
|
||||
<div className="dashboard-sidebar-scroll">
|
||||
|
|
@ -446,7 +440,7 @@ export default function DashboardPage() {
|
|||
onOpenSettings={() => selectMailItem("Settings")}
|
||||
/>
|
||||
)}
|
||||
{companyActive === "Overview" && isDomainOwner && (
|
||||
{companyActive === "Overview" && isDomainOwner && !isOrgSetupComplete(account.id) && (
|
||||
<CompanyOverviewSetup
|
||||
account={account}
|
||||
companyDomain={companyDomain}
|
||||
|
|
@ -456,6 +450,13 @@ export default function DashboardPage() {
|
|||
}}
|
||||
/>
|
||||
)}
|
||||
{companyActive === "Overview" && isDomainOwner && isOrgSetupComplete(account.id) && (
|
||||
<CompanyOverview
|
||||
account={account}
|
||||
companyDomain={companyDomain}
|
||||
onNavigate={selectCompanyItem}
|
||||
/>
|
||||
)}
|
||||
{companyActive === "Domains" && isDomainOwner && (
|
||||
<CompanyDomains
|
||||
account={account}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue