diff --git a/apps/dashboard/src/app/(app)/[organizationSlug]/[projectId]/layout-menu.tsx b/apps/dashboard/src/app/(app)/[organizationSlug]/[projectId]/layout-menu.tsx index aee44a63..8fd3316f 100644 --- a/apps/dashboard/src/app/(app)/[organizationSlug]/[projectId]/layout-menu.tsx +++ b/apps/dashboard/src/app/(app)/[organizationSlug]/[projectId]/layout-menu.tsx @@ -21,6 +21,7 @@ import type { LucideIcon } from 'lucide-react'; import { usePathname } from 'next/navigation'; import { ProjectLink } from '@/components/links'; +import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert'; import { useNumber } from '@/hooks/useNumerFormatter'; import type { IServiceDashboards, IServiceOrganization } from '@openpanel/db'; import { differenceInDays, format } from 'date-fns'; @@ -72,10 +73,29 @@ export default function LayoutMenu({ subscriptionEndsAt, subscriptionPeriodEventsCount, subscriptionPeriodEventsLimit, + subscriptionProductId, } = organization; return ( <>
| - {column.name} - | - ))} -
|---|
|
+ {columns.map((column) => (
+ 1 && column !== columns[0]
+ ? 'text-right'
+ : 'text-left',
column.className,
+ column.width === '1fr' && 'w-full min-w-0',
)}
+ style={{ width: column.width }}
>
- {columnIndex === 0 && eachRow?.(item, index)}
{column.render(item, index)}
- |
+
))}
-