mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-31 10:10:21 +02:00
add minor fixes (#4170)
This commit is contained in:
parent
184b30643d
commit
5c896cb0f7
@ -206,7 +206,7 @@ export function SharedChatDisplay({
|
|||||||
{chatSession.description || `Unnamed Chat`}
|
{chatSession.description || `Unnamed Chat`}
|
||||||
</h1>
|
</h1>
|
||||||
<p className=" text-text-darker">
|
<p className=" text-text-darker">
|
||||||
{humanReadableFormat(chatSession.time_updated)}
|
{humanReadableFormat(chatSession.time_created)}
|
||||||
</p>
|
</p>
|
||||||
<div
|
<div
|
||||||
className={`
|
className={`
|
||||||
|
@ -181,7 +181,7 @@ const SignedUpUserTable = ({
|
|||||||
: "All Roles"}
|
: "All Roles"}
|
||||||
</SelectValue>
|
</SelectValue>
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
<SelectContent className="bg-background-50">
|
<SelectContent className="bg-background">
|
||||||
{Object.entries(USER_ROLE_LABELS)
|
{Object.entries(USER_ROLE_LABELS)
|
||||||
.filter(([role]) => role !== UserRole.EXT_PERM_USER)
|
.filter(([role]) => role !== UserRole.EXT_PERM_USER)
|
||||||
.map(([role, label]) => (
|
.map(([role, label]) => (
|
||||||
|
@ -25,8 +25,8 @@ export function mockedRefreshToken(): CustomRefreshTokenResponse {
|
|||||||
*/
|
*/
|
||||||
const mockExp = Date.now() + 3600000; // 1 hour from now in milliseconds
|
const mockExp = Date.now() + 3600000; // 1 hour from now in milliseconds
|
||||||
const data: CustomRefreshTokenResponse = {
|
const data: CustomRefreshTokenResponse = {
|
||||||
access_token: "asdf Mock access token",
|
access_token: "Mock access token",
|
||||||
refresh_token: "asdf Mock refresh token",
|
refresh_token: "Mock refresh token",
|
||||||
session: { exp: mockExp },
|
session: { exp: mockExp },
|
||||||
userinfo: {
|
userinfo: {
|
||||||
sub: "Mock email",
|
sub: "Mock email",
|
||||||
|
@ -85,7 +85,7 @@ export const LLMSelector: React.FC<LLMSelectorProps> = ({
|
|||||||
<span>{userSettings ? "System Default" : "User Default"}</span>
|
<span>{userSettings ? "System Default" : "User Default"}</span>
|
||||||
{userSettings && (
|
{userSettings && (
|
||||||
<span className=" my-auto font-normal ml-1">
|
<span className=" my-auto font-normal ml-1">
|
||||||
({defaultModelDisplayName}) asdf
|
({defaultModelDisplayName})
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
</SelectItem>
|
</SelectItem>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user