diff --git a/ui/litellm-dashboard/src/components/molecules/models/columns.tsx b/ui/litellm-dashboard/src/components/molecules/models/columns.tsx index e8b94dc2ab1..962cec57098 100644 --- a/ui/litellm-dashboard/src/components/molecules/models/columns.tsx +++ b/ui/litellm-dashboard/src/components/molecules/models/columns.tsx @@ -1,5 +1,5 @@ import { EditOutlined, InfoCircleOutlined, SyncOutlined } from "@ant-design/icons"; -import { TrashIcon } from "@heroicons/react/outline"; +import { Trash2 } from "lucide-react"; import { ColumnDef } from "@tanstack/react-table"; // eslint-disable-next-line litellm-ui/no-banned-ui-imports import { Badge, Button, Icon } from "@tremor/react"; @@ -410,21 +410,29 @@ export const columns = (
{isConfigModel ? ( - + + + ) : ( - { e.stopPropagation(); if (canEditModel && onDeleteClick) { onDeleteClick(model.model_info.id); } }} - className={!canEditModel ? "opacity-50 cursor-not-allowed" : "cursor-pointer hover:text-red-600"} - /> + className={ + !canEditModel + ? "opacity-50 cursor-not-allowed" + : "cursor-pointer hover:text-destructive" + } + aria-label="Delete model" + > + + )}