mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 04:45:08 +03:00
fix: breadcrumbs and titles on AccountLayout pages
Co-authored-by: phunguyenmurcul <51897872+phunguyenmurcul@users.noreply.github.com>
This commit is contained in:
1 parent
4031a7549f
commit
2fe281c217
4 files changed
+4
-4
No files matched your search
@@ -55,7 +55,7 @@ const LayoutHeader = ({ customHeaderComponents, breadcrumbs = [], headerBorder =
|
||||
>
|
||||
<div className="-ml-2 flex items-center text-sm">
|
||||
{/* Organization is selected */}
|
||||
{selectedOrganization ? (
|
||||
{projectRef && selectedOrganization ? (
|
||||
<>
|
||||
{/* Org Dropdown */}
|
||||
<OrgDropdown />
|
||||
|
||||
@@ -22,7 +22,7 @@ const User: NextPageWithLayout = () => {
|
||||
|
||||
User.getLayout = (page) => (
|
||||
<AccountLayout
|
||||
title="Supabase"
|
||||
title="Preferences"
|
||||
breadcrumbs={[
|
||||
{
|
||||
key: `supabase-settings`,
|
||||
|
||||
@@ -52,7 +52,7 @@ const UserAccessTokens: NextPageWithLayout = () => {
|
||||
|
||||
UserAccessTokens.getLayout = (page) => (
|
||||
<AccountLayout
|
||||
title="Supabase"
|
||||
title="Access Tokens"
|
||||
breadcrumbs={[{ key: 'supabase-account-tokens', label: 'Access Tokens' }]}
|
||||
>
|
||||
{page}
|
||||
|
||||
@@ -38,7 +38,7 @@ const ProjectsPage: NextPageWithLayout = () => {
|
||||
|
||||
ProjectsPage.getLayout = (page) => (
|
||||
<AccountLayout
|
||||
title="Supabase"
|
||||
title="Projects"
|
||||
breadcrumbs={[
|
||||
{
|
||||
key: `supabase-projects`,
|
||||
|
||||
Reference in new issue
Block a user