From 5c896cb0f7266e8b70f10835906906a4eb0d4708 Mon Sep 17 00:00:00 2001 From: pablonyx Date: Tue, 4 Mar 2025 12:29:28 -0800 Subject: [PATCH] add minor fixes (#4170) --- web/src/app/chat/shared/[chatId]/SharedChatDisplay.tsx | 2 +- web/src/components/admin/users/SignedUpUserTable.tsx | 2 +- web/src/components/health/refreshUtils.ts | 4 ++-- web/src/components/llm/LLMSelector.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/app/chat/shared/[chatId]/SharedChatDisplay.tsx b/web/src/app/chat/shared/[chatId]/SharedChatDisplay.tsx index a59249e7c..73fbc3639 100644 --- a/web/src/app/chat/shared/[chatId]/SharedChatDisplay.tsx +++ b/web/src/app/chat/shared/[chatId]/SharedChatDisplay.tsx @@ -206,7 +206,7 @@ export function SharedChatDisplay({ {chatSession.description || `Unnamed Chat`}

- {humanReadableFormat(chatSession.time_updated)} + {humanReadableFormat(chatSession.time_created)}

- + {Object.entries(USER_ROLE_LABELS) .filter(([role]) => role !== UserRole.EXT_PERM_USER) .map(([role, label]) => ( diff --git a/web/src/components/health/refreshUtils.ts b/web/src/components/health/refreshUtils.ts index 59480f2cc..a83b36ade 100644 --- a/web/src/components/health/refreshUtils.ts +++ b/web/src/components/health/refreshUtils.ts @@ -25,8 +25,8 @@ export function mockedRefreshToken(): CustomRefreshTokenResponse { */ const mockExp = Date.now() + 3600000; // 1 hour from now in milliseconds const data: CustomRefreshTokenResponse = { - access_token: "asdf Mock access token", - refresh_token: "asdf Mock refresh token", + access_token: "Mock access token", + refresh_token: "Mock refresh token", session: { exp: mockExp }, userinfo: { sub: "Mock email", diff --git a/web/src/components/llm/LLMSelector.tsx b/web/src/components/llm/LLMSelector.tsx index d9b24f5a8..4434824ce 100644 --- a/web/src/components/llm/LLMSelector.tsx +++ b/web/src/components/llm/LLMSelector.tsx @@ -85,7 +85,7 @@ export const LLMSelector: React.FC = ({ {userSettings ? "System Default" : "User Default"} {userSettings && ( - ({defaultModelDisplayName}) asdf + ({defaultModelDisplayName}) )}