Some checks are pending
E2E / Playwright e2e (push) Waiting to run
- Added SessionGuard component to manage session expiration and online status. - Updated AuthProvider to streamline session fetching and handling. - Introduced IdentityProvidersSection for managing OAuth, SAML, and LDAP identity providers. - Implemented identity provider guides for easier configuration. - Enhanced mail settings with infinite scroll option for improved user experience. - Updated global styles and layout components for better consistency across the application.
15 lines
451 B
TypeScript
15 lines
451 B
TypeScript
import { redirect } from "next/navigation"
|
|
import { MailSettingsSectionFromSegments } from "@/components/gmail/settings/mail-settings-section-view"
|
|
|
|
export default async function MailSettingsSectionPage({
|
|
params,
|
|
}: {
|
|
params: Promise<{ section?: string[] }>
|
|
}) {
|
|
const { section } = await params
|
|
if (section?.[0] === "signatures") {
|
|
redirect("/mail/settings/accounts")
|
|
}
|
|
return <MailSettingsSectionFromSegments segments={section} />
|
|
}
|