Sidebar and edit updates

This commit is contained in:
Darren Clarke 2023-10-16 09:20:40 +02:00
parent d73b194d1f
commit f13530f043
32 changed files with 3057 additions and 1114 deletions

View file

@ -24,7 +24,8 @@ export async function generateMetadata({
const overviews = {
assigned: 1,
unassigned: 2,
pending: 3,
recent: 3,
open: 5,
urgent: 7,
};
@ -36,6 +37,7 @@ type PageProps = {
export default function Page({ params: { overview } }: PageProps) {
const section = getSection(overview);
console.log({ section });
return <ZammadOverview name={section} id={overviews[overview]} />;
}