Updating status in panel to not default to uppercase (#63)

This commit is contained in:
mattherzog 2024-05-31 11:34:42 -05:00 committed by GitHub
parent c29e771771
commit 21f068691f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ export const NameValueRow: React.FC<NameValueRowProps> = ({
return (
<div className="flex flex-row w-full items-baseline text-sm">
<div className="grow shrink-0 text-gray-500">{name}</div>
<div className={`text-xs uppercase shrink text-${valueColor} text-right`}>
<div className={`text-xs shrink text-${valueColor} text-right`}>
{value}
</div>
</div>

View File

@ -262,7 +262,7 @@ export default function Playground({
roomState === ConnectionState.Connecting ? (
<LoadingSVG diameter={16} strokeWidth={2} />
) : (
roomState
roomState.toUpperCase()
)
}
valueColor={
@ -275,11 +275,11 @@ export default function Playground({
name="Agent connected"
value={
isAgentConnected ? (
"true"
"TRUE"
) : roomState === ConnectionState.Connected ? (
<LoadingSVG diameter={12} strokeWidth={2} />
) : (
"false"
"FALSE"
)
}
valueColor={