Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit ·
1384bcb
1
Parent(s): 642f202
fix: cast unknown to avoid TS2769 in sandbox approval UI
Browse files
frontend/src/components/Chat/ToolCallGroup.tsx
CHANGED
|
@@ -111,8 +111,8 @@ function InlineApproval({
|
|
| 111 |
<Box component="span" sx={{ fontWeight: 500, color: 'var(--text)' }}>
|
| 112 |
{String(args.hardware || 'cpu-basic')}
|
| 113 |
</Box>
|
| 114 |
-
{args.private && (
|
| 115 |
-
<Box component="span" sx={{ color: 'var(--muted-text)' }}> (private)</Box>
|
| 116 |
)}
|
| 117 |
</Typography>
|
| 118 |
</Box>
|
|
|
|
| 111 |
<Box component="span" sx={{ fontWeight: 500, color: 'var(--text)' }}>
|
| 112 |
{String(args.hardware || 'cpu-basic')}
|
| 113 |
</Box>
|
| 114 |
+
{!!args.private && (
|
| 115 |
+
<Box component="span" sx={{ color: 'var(--muted-text)' }}>{' (private)'}</Box>
|
| 116 |
)}
|
| 117 |
</Typography>
|
| 118 |
</Box>
|