From d73d780d5a31787b4011af0b55e9a0c0e87ab554 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Wed, 9 Apr 2025 14:34:36 -0600 Subject: [PATCH] fix owner of dashboard --- web/src/components/ui/avatar/Avatar.tsx | 2 +- .../DashboardListController/DashboardListContent.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/components/ui/avatar/Avatar.tsx b/web/src/components/ui/avatar/Avatar.tsx index c6a21783f..26be3b8ee 100644 --- a/web/src/components/ui/avatar/Avatar.tsx +++ b/web/src/components/ui/avatar/Avatar.tsx @@ -6,7 +6,7 @@ import { BusterLogo } from '@/assets/svg/BusterLogo'; import { cn } from '@/lib/utils'; export interface AvatarProps { - image?: string; + image?: string | null; name?: string | null; className?: string; fallbackClassName?: string; diff --git a/web/src/controllers/DashboardListController/DashboardListContent.tsx b/web/src/controllers/DashboardListController/DashboardListContent.tsx index 241058f0c..8300e23ee 100644 --- a/web/src/controllers/DashboardListController/DashboardListContent.tsx +++ b/web/src/controllers/DashboardListController/DashboardListContent.tsx @@ -62,8 +62,8 @@ const columns: BusterListColumn[] = [ dataIndex: 'owner', title: 'Owner', width: 55, - render: (_, data) => { - return ; + render: (_, data: BusterDashboardListItem) => { + return ; } } ];