This commit is contained in:
@@ -13,6 +13,7 @@ import { getAccent, THEME_MODES, type ThemeMode } from '@pig/core';
|
||||
import { Badge, Button, Card, CardContent, CardHeader, CardTitle, Input } from '@/components/ui';
|
||||
import { useState } from 'react';
|
||||
import { usePageTitle } from '@/lib/title';
|
||||
import { AdminSettings } from '@/components/AdminSettings';
|
||||
|
||||
interface Me {
|
||||
id: string;
|
||||
@@ -35,6 +36,7 @@ export function Settings() {
|
||||
|
||||
<Appearance />
|
||||
<Profile me={me} />
|
||||
{me?.isPlatformAdmin ? <AdminSettings /> : null}
|
||||
<ConnectAgent />
|
||||
<SessionCard />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user