mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
refactor(ui): finish organizations shadcn migration
This commit is contained in:
parent
e2abc274d6
commit
33ed964258
2 changed files with 3 additions and 7 deletions
|
|
@ -3384,9 +3384,6 @@
|
|||
"src/components/organization/organization_view.tsx": {
|
||||
"local/filename-pascal-case": {
|
||||
"count": 1
|
||||
},
|
||||
"no-restricted-imports": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"src/components/page_utils.test.ts": {
|
||||
|
|
@ -4310,4 +4307,4 @@
|
|||
"count": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,10 +11,9 @@ import { formatNumberWithCommas } from "@/utils/dataUtils";
|
|||
import { teamDetailHref } from "@/utils/entityLinks";
|
||||
import { createTeamAliasMap } from "@/utils/teamUtils";
|
||||
import { BadgeLink } from "@/components/shared/BadgeLink";
|
||||
import type { ColumnsType } from "antd/es/table";
|
||||
import { ArrowLeft } from "lucide-react";
|
||||
import React, { useMemo, useState } from "react";
|
||||
import MemberTable from "../common_components/MemberTable";
|
||||
import MemberTable, { type MemberTableProps } from "../common_components/MemberTable";
|
||||
import UserSearchModal from "../common_components/user_search_modal";
|
||||
import NotificationsManager from "../molecules/notifications_manager";
|
||||
import {
|
||||
|
|
@ -122,7 +121,7 @@ const OrganizationInfoView: React.FC<OrganizationInfoProps> = ({
|
|||
return <div className="p-4">Organization not found</div>;
|
||||
}
|
||||
|
||||
const orgExtraColumns: ColumnsType<Member> = [
|
||||
const orgExtraColumns: NonNullable<MemberTableProps["extraColumns"]> = [
|
||||
{
|
||||
title: "Spend (USD)",
|
||||
key: "spend",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue