mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 14:08:11 +00:00
Merge pull request #796 from Tria-plc/quick-fix
Boarding icon added to dashboard
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
import { useQuery } from '@tanstack/react-query';
|
import { useQuery } from '@tanstack/react-query';
|
||||||
import { PermissionGuard } from '@/components/layout/PermissionGuard';
|
import { PermissionGuard } from '@/components/layout/PermissionGuard';
|
||||||
import { PERMS } from '@/lib/permissions';
|
import { PERMS } from '@/lib/permissions';
|
||||||
import { Ticket, AlertCircle, BookOpen, Banknote, ArrowRight } from 'lucide-react';
|
import { Ticket, AlertCircle, BookOpen, Banknote, ArrowRight, ScanLine } from 'lucide-react';
|
||||||
import { dashboardApi } from '@/lib/api/dashboard';
|
import { dashboardApi } from '@/lib/api/dashboard';
|
||||||
import { apiClient } from '@/lib/api-client';
|
import { apiClient } from '@/lib/api-client';
|
||||||
import { formatCurrency } from '@/lib/utils';
|
import { formatCurrency } from '@/lib/utils';
|
||||||
@@ -143,9 +143,18 @@ function DashboardPageContent() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="space-y-6 p-6">
|
<div className="space-y-6 p-6">
|
||||||
<div>
|
<div className="flex items-start justify-between">
|
||||||
<h1 className="text-3xl font-bold text-foreground">Dashboard</h1>
|
<div>
|
||||||
<p className="text-muted-foreground mt-1">Welcome back! Here's your operational summary.</p>
|
<h1 className="text-3xl font-bold text-foreground">Dashboard</h1>
|
||||||
|
<p className="text-muted-foreground mt-1">Welcome back! Here's your operational summary.</p>
|
||||||
|
</div>
|
||||||
|
<Link
|
||||||
|
href="/boarding"
|
||||||
|
className="flex items-center gap-2 rounded-lg bg-emerald-600 hover:bg-emerald-700 text-white px-4 py-2 text-sm font-medium transition-colors"
|
||||||
|
>
|
||||||
|
<ScanLine className="h-4 w-4" />
|
||||||
|
Boarding
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{statsError && (
|
{statsError && (
|
||||||
|
|||||||
Reference in New Issue
Block a user