fix: Filter out internal wildcard agents from sandbox binding selector.

This commit is contained in:
Haitao Pan 2026-02-06 16:52:46 +08:00
parent ec846fe292
commit 8f4f4b47bb

View File

@ -137,11 +137,13 @@ export default function SandboxNodeBindingPanel() {
className="rounded-lg border border-gray-200 bg-white px-3 py-2 text-sm text-gray-800 focus:border-purple-400 focus:outline-none focus:ring-2 focus:ring-purple-200"
>
<option value=""></option>
{(nodes ?? []).map((node) => (
<option key={node.address} value={node.address}>
{node.name} ({node.address})
</option>
))}
{(nodes ?? [])
.filter((node) => node.address !== '*')
.map((node) => (
<option key={node.address} value={node.address}>
{node.name} ({node.address})
</option>
))}
</select>
</label>