Overview & recent fixes, auth updates, SWR fixes

This commit is contained in:
Darren Clarke 2023-11-10 14:17:09 +01:00
parent 7df947f35a
commit 8d86db882d
29 changed files with 1252 additions and 1221 deletions

View file

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