@@ -5,6 +5,7 @@ import { getInitials } from "@/lib/utils";
|
||||
import { ChangePasswordForm } from "@/components/settings/ChangePasswordForm";
|
||||
import { HetznerConfigForm } from "@/components/settings/HetznerConfigForm";
|
||||
import { SketchTemplatesSection } from "@/components/settings/SketchTemplatesSection";
|
||||
import { HideArchivedToggle } from "@/components/settings/HideArchivedToggle";
|
||||
import { getHetznerConfig } from "@/actions/settings";
|
||||
|
||||
export const metadata = { title: "Settings" };
|
||||
@@ -42,6 +43,15 @@ export default async function SettingsPage() {
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle className="text-base">Display Preferences</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<HideArchivedToggle />
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
<ChangePasswordForm mustChangePassword={session.user.mustChangePassword ?? false} />
|
||||
|
||||
{isAdmin && hetznerConfig && (
|
||||
|
||||
Reference in New Issue
Block a user