mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fixes SCIM
This commit is contained in:
parent
2c3c0290f8
commit
d3e2949e7c
1 changed files with 9 additions and 9 deletions
|
@ -9,7 +9,7 @@ import {
|
|||
Callout,
|
||||
TextInput,
|
||||
} from "@tremor/react";
|
||||
import { Button, message, Form } from "antd";
|
||||
import { message, Form } from "antd";
|
||||
import { keyCreateCall } from "./networking";
|
||||
import { CopyToClipboard } from "react-copy-to-clipboard";
|
||||
|
||||
|
@ -73,9 +73,9 @@ const SCIMConfig: React.FC<SCIMConfigProps> = ({ accessToken, userID, baseUrl })
|
|||
text={scimBaseUrl}
|
||||
onCopy={() => message.success("URL copied to clipboard")}
|
||||
>
|
||||
<Button type="primary" className="ml-2">
|
||||
<TremorButton variant="primary" className="ml-2">
|
||||
Copy
|
||||
</Button>
|
||||
</TremorButton>
|
||||
</CopyToClipboard>
|
||||
</div>
|
||||
|
||||
|
@ -99,13 +99,13 @@ const SCIMConfig: React.FC<SCIMConfigProps> = ({ accessToken, userID, baseUrl })
|
|||
<TextInput placeholder="SCIM Access Token" />
|
||||
</Form.Item>
|
||||
<Form.Item>
|
||||
<Button
|
||||
type="primary"
|
||||
htmlType="submit"
|
||||
<TremorButton
|
||||
variant="primary"
|
||||
type="submit"
|
||||
loading={isCreatingToken}
|
||||
>
|
||||
Create SCIM Token
|
||||
</Button>
|
||||
</TremorButton>
|
||||
</Form.Item>
|
||||
</Form>
|
||||
</>
|
||||
|
@ -126,9 +126,9 @@ const SCIMConfig: React.FC<SCIMConfigProps> = ({ accessToken, userID, baseUrl })
|
|||
text={tokenData.token}
|
||||
onCopy={() => message.success("Token copied to clipboard")}
|
||||
>
|
||||
<Button type="primary">
|
||||
<TremorButton variant="primary">
|
||||
Copy
|
||||
</Button>
|
||||
</TremorButton>
|
||||
</CopyToClipboard>
|
||||
</div>
|
||||
<TremorButton
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue