import Link from 'next/link'; interface AdminDiagnosticBannerProps { slug: string; subpageName?: string; configuredAlbumCount?: number; reason?: string; } export function AdminDiagnosticBanner({ slug, subpageName, configuredAlbumCount = 0, reason, }: AdminDiagnosticBannerProps) { return (
The subpage /{slug} {subpageName ? `("${subpageName}")` : ''} is active in{' '}
gallery.yaml
{configuredAlbumCount > 0
? `, and configured with ${configuredAlbumCount} album(s)`
: ''}
, but Immich returned no accessible albums or assets.