add minor fixes (#4170)

This commit is contained in:
pablonyx 2025-03-04 12:29:28 -08:00 committed by GitHub
parent 184b30643d
commit 5c896cb0f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -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={`

View File

@ -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]) => (

View File

@ -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",

View File

@ -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>