mirror of
https://github.com/umami-software/umami.git
synced 2026-02-22 21:45:36 +01:00
New admin section.
This commit is contained in:
parent
b78ff3b477
commit
ce1f6c3618
44 changed files with 515 additions and 157 deletions
17
src/app/(main)/admin/teams/[teamId]/page.tsx
Normal file
17
src/app/(main)/admin/teams/[teamId]/page.tsx
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { AdminTeamPage } from './AdminTeamPage';
|
||||
import { TeamProvider } from '@/app/(main)/teams/[teamId]/TeamProvider';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export default async function ({ params }: { params: Promise<{ teamId: string }> }) {
|
||||
const { teamId } = await params;
|
||||
|
||||
return (
|
||||
<TeamProvider teamId={teamId}>
|
||||
<AdminTeamPage teamId={teamId} />
|
||||
</TeamProvider>
|
||||
);
|
||||
}
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Team',
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue