Updating status in panel to not default to uppercase (#63)
This commit is contained in:
parent
c29e771771
commit
21f068691f
@ -14,7 +14,7 @@ export const NameValueRow: React.FC<NameValueRowProps> = ({
|
|||||||
return (
|
return (
|
||||||
<div className="flex flex-row w-full items-baseline text-sm">
|
<div className="flex flex-row w-full items-baseline text-sm">
|
||||||
<div className="grow shrink-0 text-gray-500">{name}</div>
|
<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}
|
{value}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -262,7 +262,7 @@ export default function Playground({
|
|||||||
roomState === ConnectionState.Connecting ? (
|
roomState === ConnectionState.Connecting ? (
|
||||||
<LoadingSVG diameter={16} strokeWidth={2} />
|
<LoadingSVG diameter={16} strokeWidth={2} />
|
||||||
) : (
|
) : (
|
||||||
roomState
|
roomState.toUpperCase()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
valueColor={
|
valueColor={
|
||||||
@ -275,11 +275,11 @@ export default function Playground({
|
|||||||
name="Agent connected"
|
name="Agent connected"
|
||||||
value={
|
value={
|
||||||
isAgentConnected ? (
|
isAgentConnected ? (
|
||||||
"true"
|
"TRUE"
|
||||||
) : roomState === ConnectionState.Connected ? (
|
) : roomState === ConnectionState.Connected ? (
|
||||||
<LoadingSVG diameter={12} strokeWidth={2} />
|
<LoadingSVG diameter={12} strokeWidth={2} />
|
||||||
) : (
|
) : (
|
||||||
"false"
|
"FALSE"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
valueColor={
|
valueColor={
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user