-
+
{app.name}
@@ -211,9 +212,7 @@ export default function AdminAppsPage() {
|
{app.creator_name} |
-
- {statusLabels[app.status]}
-
+ {statusLabels[app.status]}
|
{visibilityLabels[app.visibility] || app.visibility}
diff --git a/apps/web/src/app/(admin)/audit/page.tsx b/apps/web/src/app/(admin)/audit/page.tsx
index 94f241c..d12b49e 100644
--- a/apps/web/src/app/(admin)/audit/page.tsx
+++ b/apps/web/src/app/(admin)/audit/page.tsx
@@ -90,9 +90,7 @@ export default function AuditPage() {
|
{log.user_name || log.user_id.slice(0, 8)} |
-
- {log.action}
-
+ {log.action}
|
{log.resource_type}/{log.resource_id.slice(0, 8)}
diff --git a/apps/web/src/app/(admin)/dashboard/page.tsx b/apps/web/src/app/(admin)/dashboard/page.tsx
index 2c0dc37..bb01845 100644
--- a/apps/web/src/app/(admin)/dashboard/page.tsx
+++ b/apps/web/src/app/(admin)/dashboard/page.tsx
@@ -4,7 +4,15 @@ import { useQuery } from "@tanstack/react-query";
import api from "@/lib/api";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { Skeleton } from "@/components/ui/skeleton";
-import { Users, AppWindow, Activity, MessageCircle, Target, DollarSign, type LucideIcon } from "lucide-react";
+import {
+ Users,
+ AppWindow,
+ Activity,
+ MessageCircle,
+ Target,
+ DollarSign,
+ type LucideIcon,
+} from "lucide-react";
interface OverviewStats {
total_users: number;
@@ -15,7 +23,15 @@ interface OverviewStats {
monthly_cost: number;
}
-function StatCard({ title, value, icon: Icon }: { title: string; value: string | number; icon: LucideIcon }) {
+function StatCard({
+ title,
+ value,
+ icon: Icon,
+}: {
+ title: string;
+ value: string | number;
+ icon: LucideIcon;
+}) {
return (
@@ -63,7 +79,11 @@ export default function DashboardPage() {
-
+
diff --git a/apps/web/src/app/(admin)/layout.tsx b/apps/web/src/app/(admin)/layout.tsx
index 534a182..692744e 100644
--- a/apps/web/src/app/(admin)/layout.tsx
+++ b/apps/web/src/app/(admin)/layout.tsx
@@ -75,9 +75,11 @@ export default function AdminLayout({ children }: { children: React.ReactNode })
/>
)}
- |